joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442d4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x442d98
mov eax, esi
call fcn.00458ea4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442d98
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x442d98
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x442ed7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x442dd8
cmp eax, 0x108
ja 0x442dd8
mov eax, esi
call fcn.00458ea4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442ece
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x442ed7
jmp 0x442ece
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x442eb7
cmp eax, 0x20a
ja 0x442eb7
test byte [esi + 0x50], 0x80
jne 0x442e0a
sub eax, 0x203
je 0x442e07
sub eax, 3
je 0x442e07
sub eax, 3
jne 0x442e0a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x442e1e
dec eax
je 0x442e33
dec eax
je 0x442e50
dec eax
je 0x442e33
jmp 0x442e57
mov ecx, ebx
mov eax, dword [0x4c1204]
mov eax, dword [eax]
mov edx, esi
call fcn.004627f0
jmp 0x442ece
cmp byte [esi + 0x5d], 1
jne 0x442e49
mov eax, esi
mov si, 0xffed
call fcn.004036b4
jmp 0x442ed7
or word [esi + 0x54], 1
jmp 0x442ece
and word [esi + 0x54], 0xfffe
jmp 0x442ece
mov eax, dword [0x4c2b40]
cmp byte [eax + 0x20], 0
je 0x442ece
mov eax, dword [0x4c2b40]
cmp dword [eax + 0x1c], 0
je 0x442ece
mov eax, dword [ebx]
mov edx, dword [0x4c2b40]
cmp eax, dword [edx + 0x1c]
jne 0x442ece
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00458de8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036b4
jmp 0x442ed7
cmp eax, 0xb00b
jne 0x442ece
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00441654
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446444
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x446460
cmp dword [esi + 4], 0
je 0x44648d
test byte [ebx + 0x55], 1
jne 0x44647f
mov eax, ebx
call fcn.00444fe4
test eax, eax
jne 0x44647f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44659d
mov edx, esi
mov eax, ebx
call fcn.00445f68
jmp 0x44659d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x446596
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004482b4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00442c80
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00446444
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004482b4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44659d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cc90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c1468]
cmp byte [eax + 0xc], 0
je 0x44cdfd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cdf6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c2b94], 0
jne 0x44cce4
push 0x44ce04
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ce0c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2b94], eax
cmp dword [0x4bee40], 0
jne 0x44cddf
push 0x44ce1c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bee40], eax
cmp dword [0x4bee40], 0
je 0x44cddf
push 0x44ce28
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2b98], eax
push 0x44ce38
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2b9c], eax
push 0x44ce4c
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba0], eax
push 0x44ce64
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba4], eax
push 0x44ce7c
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2ba8], eax
push 0x44ce90
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bac], eax
push 0x44cea8
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb0], eax
push 0x44cec0
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb4], eax
push 0x44cedc
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bb8], eax
push 0x44cee8
mov eax, dword [0x4bee40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cdfd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450c88
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004042e8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x450cd7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404558
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458d58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458da8]
test si, 4
je 0x458d6c
or bl, 1
test si, 8
je 0x458d76
or bl, 4
test si, 1
je 0x458d80
or bl, 8
test si, 2
je 0x458d8a
or bl, 0x10
test si, 0x10
je 0x458d94
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458da3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458dac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458de4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458dc5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458dd4
or bl, 4
test esi, 0x20000000
je 0x458ddf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f584
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f596
add esp, 0xfffffff0
call fcn.004037dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423ca8
mov eax, dword [0x4c0edc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f928
mov eax, dword [0x4c0ef0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f934
mov eax, ebx
call fcn.0045f940
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45bd5c
push eax
push 0
push 0
mov eax, dword [0x4c1128]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425d34]
call fcn.004274a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425d34]
call fcn.004274a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425d34]
call fcn.004274a8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045fd60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fc3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fc3c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fc3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f6d3
call fcn.00403834
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fa20
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fbcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fbac
mov dl, 1
mov eax, dword [0x41b7f4]
call fcn.00403488
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042e8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fb9b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044cff0
test al, al
je 0x45fb8e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45fbdc
lea eax, [ebp - 0x254]
call fcn.00409c58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45fb8e
xor eax, eax
push ebp
push 0x45fb87
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45fc14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45fb70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404558
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45fb70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fa91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fe28
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fbd2
lea eax, [ebp - 0x260]
call fcn.004042e8
ret

Function at 0x460500
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c2be0]
cmp byte [eax + 0xa5], 0
jne 0x460571
cmp dword [0x4c2bf8], 0
jne 0x460532
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4604bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c2bf8], eax
cmp dword [0x4c2bf4], 0
jne 0x46054d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c2bf4], eax
cmp dword [0x4c2bfc], 0
jne 0x460571
push esp
push 0
push 0
push 0x460460
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c2bfc], eax
pop edx
ret
Function at 0x460668
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46067f
add esp, 0xfffffff0
call fcn.004037dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423ca8
mov eax, dword [0x4c1114]
cmp word [eax + 2], 0
jne 0x4606a7
mov eax, dword [0x4c1114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461de8
mov eax, dword [0x4c1238]
cmp word [eax + 2], 0
jne 0x4606c1
mov eax, dword [0x4c1238]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461fe0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b190]
call fcn.00403488
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426814]
call fcn.0042df3c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460848
mov eax, dword [0x4c0f88]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e30c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462580
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c0f88]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040db44
test eax, eax
je 0x4607b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040961c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040db6c
test eax, eax
je 0x4607ca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404558
mov eax, dword [0x4c0d84]
cmp byte [eax], 0
jne 0x4607fe
mov eax, ebx
call fcn.00460970
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046275c
mov eax, ebx
call fcn.00463120
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46083e
call fcn.00403834
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460bf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c2be0]
cmp dword [eax + 0x30], 0
je 0x460c9a
cmp dword [ebx + 0x94], 0
jne 0x460c94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460b80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460c94
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460c5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460c94
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d87c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460c69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4617fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x461831
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043d8
jmp 0x46183e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040433c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462938
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462979
mov eax, esi
call fcn.004485b8
test al, al
je 0x462979
mov eax, dword [ebx + 0x84]
call fcn.004482b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462979
push 0
mov eax, dword [ebx + 0x84]
call fcn.004482b4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x466040
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46606e
mov eax, ebx
call fcn.00466af4
cmp dword [ebx + 0x40], 0
je 0x466067
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4660df
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4660d1
cmp dword [ebx + 8], 0
je 0x466090
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4660a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4660d1
cmp dword [ebx + 8], 0
je 0x466083
cmp eax, 3
je 0x4660b5
dec eax
jne 0x466083
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x466083
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466083
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4660fd
cmp dword [ebx + 0x14], 0xcc
je 0x4660fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00466108
pop ebx
ret
Function at 0x497518
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x49753d
cmp dword [esp + 4], 5
jb 0x49753d
mov al, 1
jmp 0x49753f
xor eax, eax
add esp, 0x94
ret
Function at 0x4adc03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c0b96
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4adc5b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c0bb7
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4adc51
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4adc5f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4bb7e4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404798
lea eax, [ebp - 0x15c]
mov edx, dword [0x407aac]
call fcn.00404dc8
xor eax, eax
push ebp
push 0x4bb955
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045a8
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4bb84d
lea eax, [ebp - 4]
mov edx, 0x4bb96c
call fcn.004045b0
lea eax, [ebp - 0x160]
mov ecx, 0x4bb978
mov edx, dword [ebp - 4]
call fcn.004045f4
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.004092bc
test eax, eax
jne 0x4bb91e
mov eax, dword [ebp - 0x154]
and eax, 0x10
cmp eax, 0x10
jne 0x4bb8d3
mov eax, dword [ebp - 0x150]
mov edx, 0x4bb984
call fcn.004046f4
je 0x4bb8f2
mov eax, dword [ebp - 0x150]
mov edx, 0x4bb990
call fcn.004046f4
je 0x4bb8f2
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.004045f4
mov edx, dword [ebp - 0x164]
mov eax, ebx
call fcn.004bb7e4
jmp 0x4bb8f2
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.004045f4
mov eax, dword [ebp - 0x168]
call fcn.0040934c
lea eax, [ebp - 0x15c]
call fcn.0040930c
test eax, eax
je 0x4bb87e
lea eax, [ebp - 0x15c]
call fcn.00409330
mov eax, dword [ebp - 4]
call fcn.004047a8
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb95c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040430c
lea eax, [ebp - 0x15c]
mov edx, dword [0x407aac]
call fcn.00404e98
lea eax, [ebp - 4]
call fcn.004042e8
ret
Function at 0x4bd668
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd755
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004042e8
xor eax, eax
push ebp
push 0x4bd726
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004044d0
lea eax, [ebp - 0x10]
mov edx, 0x4bd76c
call fcn.004045b0
mov eax, dword [ebp - 0x10]
call fcn.004047a8
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 4]
call fcn.00407464
movzx eax, ax
lea ecx, [ebp - 0x14]
mov edx, 4
call fcn.00408ea8
push dword [ebp - 0x14]
push 0x4bd778
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 4]
mov edx, 4
call fcn.00408ea8
push dword [ebp - 0x18]
mov eax, esi
mov edx, 3
call fcn.00404668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd73a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd75c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040430c
ret
Function at 0x405c44
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a04], 0
push esi
jne 0x405c7b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c55
mov dword [ecx*4 + 0x422a00], eax
inc ecx
cmp ecx, 0x100
jl 0x405c50
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cac
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a00]
xor eax, esi
inc ecx
dec edx
jne 0x405c8e
pop edi
not eax
pop esi
ret 0xc

Function at 0x402060
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor esp, ebp
mov esp, 0x8b0f0000
inc ebp
or byte [ebp + 0x241274c0], al
mov ecx, dword [ecx]
add byte [ebx + 0x410ba0], ah
mov dword [0xe39a5fa4], edx
inc ebp
or ecx, dword [esi]
adc eax, 0x9ef8a4
mov eax, dword [0x250ba0]
push ebx
mov ebx, dword [0x180bc0]
push esi
push edi
mov edi, dword [0x41a312]
sub edx, dword [esi]
sbb edx, edi
mov byte [0x5589d845], al
fadd st(2), st(0)
xor eax, 0xe340c164
fild qword [ebp - 0x28]
push 0xaadfb4
fmul qword [0xabc291]
stosb byte es:[edi], al
pop ebp
sar bh, 1
salc
push ebp
rcl byte [ebx]
inc ecx
add byte [eax - 0x68], ch
lodsb al, byte [esi]
loope 0x40208d
pop edi
sbb byte [ecx + 0xf51800], ah
push eax
push 0x40df0d
call dword [ebx + 0x33]
leave
sbb al, 0x2b
or eax, 0x4117f4
push ecx
push 0x40df88
jmp [edx + 0x40d48068]

Function at 0x407083
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x407086
mov edi, 0x8577b61d
invalid