joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b5d2
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x47e00e
call fcn.00477fa0
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00403b58
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00402f5b
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x483bec
push eax
call fcn.00403b58
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0
call fcn.004012c8
add esp, 0x10
lea ebx, [esi + 0x28]
mov byte [ebp - 4], 3
mov edi, ebx
mov dword [ebp - 0x14], ebx
call fcn.00402ed6
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00403c45
push dword [ebx]
push dword [ebp - 0x10]
push dword [0x4a5e00]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40b6c5
push eax
push ebx
call fcn.00403b3a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40b6b0
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, esi
call fcn.0047803f
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.00416b39
pop ecx
pop ecx
call fcn.004011f9
pop ecx
mov edi, dword [ebp + 0xc]
mov eax, ebx
call fcn.00402ed6
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp + 8]
push eax
call fcn.0040bdd9
mov ebx, dword [ebx]
call fcn.00433328
test eax, eax
jne 0x40b76a
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push eax
push dword [0x4a5e0c]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
je 0x40b71e
cmp eax, 4
jne 0x40b73f
mov ebx, edi
jmp 0x40b6ed
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40b730
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00403c45
xor esi, esi
jmp 0x40b69b
cmp eax, 5
jne 0x40b76a
mov esi, edi
call fcn.00403943
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40b75d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00403c45
jmp 0x40b698
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jmp 0x40b751
Function at 0x40bd32
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x47cac3
call fcn.00477fa0
push 0x18
mov dword [ebp - 4], 1
call fcn.0045d02c
mov edi, eax
pop ecx
test edi, edi
je 0x40bd70
mov ebx, 0x4a444c
lea esi, [edi + 8]
mov ecx, ebx
call fcn.00403c2a
lea esi, [edi + 0x14]
mov ecx, ebx
call fcn.00403c2a
mov esi, edi
jmp 0x40bd72
xor esi, esi
lea edi, [ebp + 0xc]
call fcn.00401d7d
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea edi, [esi + 8]
lea eax, [ebp + 0x10]
call fcn.00402ed6
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x14]
lea eax, [ebp + 0xc]
call fcn.00402ed6
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push esi
push 0x40bb74
push edi
push edi
call fcn.0045d192
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00403c45
call fcn.0047803f
ret

Function at 0x40bdd9
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x10
mov eax, 0x47cc7a
call fcn.00477fa0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, 0x4a444c
mov ecx, edi
call fcn.00403c2a
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call esi
cmp eax, 0xffffffff
je 0x40bec6
mov eax, dword [0x4a444c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4a444c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str..bak_d
push eax
call fcn.0040359b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00403322
add esp, 0x14
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00402ed6
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403c45
mov ebx, dword [ebp - 0x18]
push ebx
call esi
push ebx
cmp eax, 0xffffffff
je 0x40be9b
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x64
jl 0x40be3f
jmp 0x40beb3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40beb3
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00402ed6
lea eax, [ebx - 0x10]
call fcn.00403c45
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, dword [ebp + 8]
call fcn.0047803f
ret 8
Function at 0x40bedc
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4a1060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x40bf09
mov eax, str.Admin
jmp 0x40c093
lea eax, [ebp - 0x18]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x40bf42
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40bf42
mov eax, 0x483e6c
jmp 0x40c093
push esi
push str.CheckTokenMembership
push str.ADVAPI32
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a59f4], eax
cmp eax, ebx
jne 0x40bfda
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x40bfce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40bfce
push dword [ebp - 0x20]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40bfce
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push 2
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x40bfce
mov dword [ebp - 0x28], 1
jmp 0x40bfda
cmp dword [0x4a59f4], ebx
je 0x40c078
mov dword [ebp - 0x14], ebx
push edi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [eax + 0x4a3a34]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40c069
mov eax, dword [0x4a59f4]
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x40c01b
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x24]
push ebx
call eax
jmp 0x40c04f
cmp dword [ebp - 0x28], ebx
je 0x40c060
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp dword [eax], ebx
jbe 0x40c060
mov esi, eax
add esi, 4
push dword [ebp - 0x24]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40c044
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x10]
inc edi
add esi, 8
cmp edi, dword [eax]
jb 0x40c02e
cmp dword [ebp - 0x1c], ebx
je 0x40c060
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x4a3a38]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
add dword [ebp - 0x14], 8
cmp dword [ebp - 0x14], 0x20
jb 0x40bfde
pop edi
pop esi
cmp dword [ebp - 0x10], ebx
je 0x40c087
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045a985
leave
ret
Function at 0x40c0db
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0045e5c0
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x40cd31
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x40cd69
mov dword [esi], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40cd5f
mov ecx, esi
call fcn.0040cdaa
jmp 0x40cd65
mov dword [esi], 0x63
xor eax, eax
jmp 0x40cda6
push ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x40cd85
mov dword [esi], 0xd
jmp 0x40cd46
push edi
push 0x1000
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40cda3
mov dword [esi], 0xe
jmp 0x40cd46
xor eax, eax
inc eax
leave
ret 4

Function at 0x40d1a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x40d1c1
xor eax, eax
jmp 0x40d244
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0xc]
xor edi, edi
inc edi
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x40d23f
cmp dword [ebp - 4], edi
je 0x40d1fd
cmp dword [ebp - 4], 7
je 0x40d1fd
cmp dword [ebp - 4], 2
jne 0x40d23f
add eax, 2
push eax
push edi
call fcn.0045cf82
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x40d23f
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call esi
test eax, eax
jne 0x40d236
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.00403b3a
mov dword [ebp - 0x10], edi
push dword [ebp - 0xc]
call fcn.0045aabf
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4161ce
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 0x70], ebx
je 0x41629c
lea eax, [ebp - 0x10]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
call fcn.0041695c
mov eax, dword [esi + 0x70]
lea ecx, [eax - 1]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 2
cdq
idiv dword [esi + 0x64]
pop edi
push 1
push ecx
push ebx
push edi
push dword [esi + 0x38]
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_SetScrollRange]
push 1
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [esi + 0x70]
dec eax
cmp dword [esi + 0x68], eax
jle 0x41625f
push ebx
push dword [esi + 0x38]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
push 0
jmp 0x41626e
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x38]
call ebx
push 5
push dword [esi + 0x3c]
call ebx
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x70]
add edx, ecx
cmp edx, eax
jle 0x41629c
sub eax, ecx
mov dword [esi + 0x60], eax
jns 0x41628d
and dword [esi + 0x60], 0
push 1
push dword [esi + 0x60]
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetScrollPos]
pop edi
pop ebx
leave
ret

Function at 0x416406
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
movsx edi, ax
shr eax, 0x10
cwde
push eax
mov esi, ecx
push edi
mov dword [ebp - 4], eax
call fcn.00416339
mov ebx, eax
test ebx, ebx
jl 0x416465
push 1
mov eax, esi
call fcn.00416547
test al, al
jne 0x416442
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x6c], ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x94]
call fcn.00415c0f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [esi + 4]
jmp 0x416488
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41648e
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x416d5b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4a1060]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x47deab
call fcn.00477fa0
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jae 0x416dc4
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b58
and dword [ebp - 4], 0
push 0x483bec
push edi
mov ecx, eax
call fcn.00403373
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00403c45
jmp 0x416dcf
push 0x483e6c
push edi
call fcn.00403b58
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0045a985
add ebp, 0x20c
leave
ret
Function at 0x41ed58
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x2bc]
cmp dword [esi], 0
je 0x41ed7a
push 1
push dword [eax + 0x274]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.00418023
pop esi
ret
Function at 0x42688a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1e4], edi
jge 0x4268a7
xor eax, eax
jmp 0x426a78
mov eax, esi
call fcn.004262e7
mov ebx, eax
cmp dword [esi + 0x1f4], edi
je 0x4268f5
cmp dword [esi + 0x208], edi
jl 0x4268f5
cmp dword [esi + 0x20c], edi
jl 0x4268f5
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x4268ed
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x4268fa
mov ebx, dword [esi + 0x20c]
jmp 0x4268fa
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x4269ab
dec eax
je 0x426988
dec eax
je 0x42697f
dec eax
je 0x426977
dec eax
dec eax
je 0x426960
dec eax
dec eax
je 0x426943
sub eax, 0x19
jne 0x4268a0
cmp dword [esi + 0x1f4], eax
je 0x4268a0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x4268a0
call fcn.00426135
jmp 0x4268a0
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x218], 0
je 0x42699c
cmp dword [esi + 0x1e4], edi
jg 0x4269bf
jmp 0x4269bd
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x218], 0
jne 0x42697b
test edi, edi
jge 0x4269c7
xor edi, edi
jmp 0x4269c7
test edi, edi
jge 0x4269c7
mov edi, dword [esi + 0x1e4]
dec edi
jmp 0x4269bf
cmp ebx, 0xffffffff
jne 0x426991
xor edi, edi
jmp 0x42699c
mov eax, esi
call fcn.0042680e
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x1e4]
dec eax
cmp eax, edi
jge 0x4269bf
mov edi, eax
jmp 0x4269bf
cmp ebx, 0xffffffff
je 0x426977
mov eax, esi
call fcn.0042680e
sub ebx, eax
mov edi, ebx
jns 0x4269c7
xor edi, edi
test edi, edi
jl 0x4268a0
cmp dword [esi + 0x1f4], 0
je 0x426a23
cmp dword [esi + 0x208], 0
jl 0x426a23
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x4269fd
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x426a23
mov ebx, dword [esi + 0x208]
mov dword [esp + 0xc], ebx
call fcn.0042642d
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.00426544
mov eax, dword [esp + 0xc]
mov dword [esi + 0x208], eax
jmp 0x426a39
call fcn.0042642d
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.004260d7
mov dword [esi + 0x208], edi
push 0
lea ebx, [esi + 0xbc]
push dword [ebx]
mov eax, esi
push dword [0x4a5e78]
mov dword [esi + 0x214], edi
mov dword [esi + 0x20c], edi
call fcn.00421dac
mov ecx, dword [esi + 0x200]
test ecx, ecx
je 0x426a6c
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.0042683d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42c636
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x78
cmp dword [eax + 0x28], 2
push esi
push edi
jne 0x42c777
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [eax + 4]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffec
push dword [eax + 4]
and esi, 0xff7fffff
or esi, 0x400000
call edi
xor edi, edi
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0xc]
sub dword [ebx], eax
mov eax, dword [esp + 0x10]
sub dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xc], eax
push edi
push 0x490148
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 8], eax
cmp eax, edi
je 0x42c777
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x40]
call fcn.0042c5eb
mov esi, dword [esp + 8]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
push eax
push 4
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], esi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 1
je 0x42c777
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x42c777
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x42c76d
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jle 0x42c762
inc dword [ebx]
jmp 0x42c777
jge 0x42c769
inc dword [ebx + 4]
jmp 0x42c777
cmp eax, dword [esp + 0x1c]
jle 0x42c774
dec dword [ebx + 0xc]
jmp 0x42c777
dec dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x430aee
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00430fa4
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x430bb1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
jne 0x430b42
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x430bb3
cmp ebx, 0xf4240
jle 0x430b56
push esi
mov ecx, ebx
call fcn.004317d0
test eax, eax
je 0x430bb1
lea eax, [ebx + 2]
push eax
push 1
call fcn.0045cf82
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x430b35
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430ba1
cmp dword [ebp - 4], ebx
jne 0x430ba1
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.00430bba
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0045aabf
xor eax, eax
pop ecx
inc eax
jmp 0x430bb3
push esi
call fcn.0045aabf
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432cae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
xor edx, edx
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], edx
cmp dword [esi + 4], 0xffffffff
mov dword [ebp - 8], 1
mov dword [ebp + 8], eax
jne 0x432cdf
xor eax, eax
jmp 0x432dc9
cmp eax, edx
je 0x432dc6
push edi
jmp 0x432cec
xor edx, edx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x432d27
mov edi, dword [ebp + 8]
sub eax, ecx
cmp eax, edi
jge 0x432d01
mov edi, eax
push edi
push ecx
push dword [ebp - 4]
call fcn.0045ea40
add dword [esi + 0xc], edi
add dword [ebp - 4], edi
mov eax, edi
cdq
add esp, 0xc
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
add dword [ebx], edi
sub dword [ebp + 8], edi
jmp 0x432db5
mov edi, 0x2000
cmp dword [ebp + 8], edi
mov dword [ebp + 0xc], edx
jl 0x432d66
mov eax, dword [esi + 8]
push edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432dc1
mov eax, dword [ebp + 0xc]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
add dword [ebx], eax
sub dword [ebp + 8], eax
jmp 0x432db1
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
mov eax, dword [esi + 0x18]
jg 0x432d7d
jl 0x432d76
cmp eax, edx
jae 0x432d7d
xor eax, eax
mov dword [ebp - 0xc], edx
jmp 0x432d80
mov dword [ebp - 0xc], ecx
push edx
lea ecx, [ebp + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
push eax
call fcn.00467ae0
sub edi, eax
push edi
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432dc1
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
add ecx, eax
mov dword [esi + 0x10], ecx
test eax, eax
je 0x432dc5
cmp dword [ebp + 8], 0
jne 0x432cea
jmp 0x432dc5
and dword [ebp - 8], 0
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret 0xc

Function at 0x4331f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x433209
xor eax, eax
jmp 0x433266
mov eax, dword [esi + 0xc]
mov ecx, 0x2000
push edi
mov edi, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, edi
jb 0x433232
mov ecx, dword [esi + 8]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.0045ea40
add esp, 0xc
add dword [esi + 0xc], edi
jmp 0x433257
call fcn.0043326b
test eax, eax
je 0x433263
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x433263
cmp dword [ebp + 0xc], edi
jne 0x433263
add dword [esi + 0x10], edi
adc dword [esi + 0x14], 0
xor eax, eax
inc eax
jmp 0x433265
xor eax, eax
pop edi
pop esi
pop ebp
ret 8