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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4548a4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454885
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454894
or bl, 4
test esi, 0x20000000
je 0x45489f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45aea8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45aeba
add esp, 0xfffffff0
call fcn.004039b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c458
mov eax, dword [0x46cf88]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b24c
mov eax, dword [0x46cf94]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b258
mov eax, ebx
call fcn.0045b264
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
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, 0x45772c
push eax
push 0
push 0
mov eax, dword [0x46d0d4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dea8]
call fcn.0041f57c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dea8]
call fcn.0041f57c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dea8]
call fcn.0041f57c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b684
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b560
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b560
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b560
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45aff7
call fcn.00403a0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b344
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 0x45b4ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b4d0
mov dl, 1
mov eax, dword [0x4123a8]
call fcn.00403620
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404440
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b4bf
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.00448a94
test al, al
je 0x45b4b2
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, 0x45b500
lea eax, [ebp - 0x254]
call fcn.004095a4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b4b2
xor eax, eax
push ebp
push 0x45b4ab
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 0x45b538
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b494
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
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 0x45b494
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b4b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b3b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004165bc
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 0x45b4f6
lea eax, [ebp - 0x260]
call fcn.00404440
ret

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

Disassembly:
push ecx
mov eax, dword [0x46ec34]
cmp byte [eax + 0xa5], 0
jne 0x45be95
cmp dword [0x46ec4c], 0
jne 0x45be56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45bde0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46ec4c], eax
cmp dword [0x46ec48], 0
jne 0x45be71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46ec48], eax
cmp dword [0x46ec50], 0
jne 0x45be95
push esp
push 0
push 0
push 0x45bd84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46ec50], eax
pop edx
ret
Function at 0x45bf8c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45bfa3
add esp, 0xfffffff0
call fcn.004039b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c458
mov eax, dword [0x46d0bc]
cmp word [eax + 2], 0
jne 0x45bfcb
mov eax, dword [0x46d0bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d650
mov eax, dword [0x46d15c]
cmp word [eax + 2], 0
jne 0x45bfe5
mov eax, dword [0x46d15c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d848
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411eb8]
call fcn.00403620
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], 0x80000018
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 [0x41e928]
call fcn.00425e0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c16c
mov eax, dword [0x46cfe8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004261dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ddc8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46cfe8]
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.0040b0b4
test eax, eax
je 0x45c0da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408eec
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b0dc
test eax, eax
je 0x45c0ee
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.004046a8
mov eax, dword [0x46ced0]
cmp byte [eax], 0
jne 0x45c122
mov eax, ebx
call fcn.0045c294
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.0045dfa4
mov eax, ebx
call fcn.0045e8e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c162
call fcn.00403a0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c508
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ec34]
cmp dword [eax + 0x30], 0
je 0x45c5b2
cmp dword [ebx + 0x94], 0
jne 0x45c5ac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c498
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c5ac
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 0x45c572
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c5ac
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.004145b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c581
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d090
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 0x45d0c5
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.00404530
jmp 0x45d0d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404494
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e1c1
mov eax, esi
call fcn.00444188
test al, al
je 0x45e1c1
mov eax, dword [ebx + 0x84]
call fcn.00443e84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e1c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443e84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x8c9008], 0x8088405
inc edx
mov dword [ebx + 0x8c9008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8ad58e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8ad595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8ae8f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x8cb54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x8cb54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x8ca378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8ae8fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x417e10
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4c74c0], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
mov esi, eax
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x4c3074
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test esi, esi
mov dword [0x4c6afc], eax
je 0x417e5b
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
pop esi
mov ecx, dword [esp]
add ecx, eax
mov eax, ecx
pop ecx
ret

Function at 0x437788
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0xd0694d3]
cmp al, 0
insb byte es:[edi], dx
aam 0x14
dec esp
inc eax
and al, 0x82
push ebp
push 0xffe56e65
sal byte [eax - 0x5f1a0d7d], 1
insd dword es:[edi], dx
loopne 0x437819
xor edx, 0xffffffe5
mov al, byte [0xd373e06d]
movsd dword es:[edi], dword [esi]
out 5, al
test al, 0x3b
shl dword [ebp + 0x3ba805e6], cl
xor al, 0x31
nop
out 0x70, al
aad 0x78
xchg byte [edi], ch
push ds
add byte [edx - 0x2fdf5760], bh
movsd dword es:[edi], dword [esi]
mov bl, 0x26
mov al, byte [0xdbafc515]
jno 0x43779f
hlt
paddusw mm0, qword [ecx]
aam 0x55
xor eax, dword [eax]
adc eax, 0x3e045ebd
inc ebx
mov cl, 0x6b
cld
aaa
mov dword [0x8e942cfd], eax
ret
xchg esp, eax
mov es, ebx
cmp al, 0x91
adc dword [0x23b8d5b1], eax
xchg cl, bh
push ebp
daa
test byte [0x80de4b0], dl
adc dword [ecx - 0x38978a0a], esp
jae 0x437805
xor byte [ecx + 0x12], ch
insd dword es:[edi], dx
mov ch, 0x8e
jo 0x4378b8
sbb eax, 0xacd9401d
mov ebp, 0x2b526304
mov dword [0xf53fb445], eax
sbb ch, byte ss:[ebx]
movsd dword es:[edi], dword [esi]

Function at 0x4377d4
Capabilities:
Encode data using xor

Disassembly:
and ch, bh
push edi
in al, 0x36
mov edx, 0x932c853c
sti
mov ch, 0xf1
sar cl, 0x97
xor dword [ebp - 0x33], 0x739131d7
popfd
mov dl, 0x34
in eax, 0x7f
popal
push 0xdc50837e
and al, 0xef
adc ecx, dword [edx - 0x1b9e8a0f]
adc byte [esi], dl
jne 0x43785e
in al, 0x10
push ss
xlatb
sbb bl, byte [ebx]
jle 0x4377fb
nop
and al, byte [ebx + ecx*8 - 0x4c3fd61c]
loopne 0x437871

Function at 0x4378d8
Capabilities:
Encode data using xor

Disassembly:
mov dword [0x8b8459ec], eax
dec edx
and dword [esi], ebp
call 0x3a84ff79
lds esp, [edi]
insb byte es:[edi], dx
dec ebx
jb 0x437914
or dword [eax], edi
jo 0x43789f
test dword [ecx + ebx*8 - 0xe3457b1], edx
fstp dword [eax - 0x31e92b2b]
xor dword [edi - 0x2569dec4], esi
cmp ah, cl
test byte [ebp - 0x52cf1ad0], ch
mov dl, 0x39
cwde
mov esp, 0x8542d090
xor byte [ebp - 0x4367c64e], ch
nop
rol byte [edx - 0x7b], 1
js 0x437908
inc esi
int1
push ecx
xlatb
and al, 0x1d

Function at 0x44f6bc
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x36e67fc3
cwde
mov ch, 0x16
push esp
sub bl, ah
mov al, byte [0x36997eda]
rol byte [ebx + 0x54], cl
push cs
xchg esi, eax
invalid
Function at 0x4ac28c
Capabilities:
Encode data using xor

Disassembly:
dec ecx
adc edx, dword [ebx - 0x20]
pop es
test eax, 0x52277326
pushal
pop eax
mov eax, dword [0x6c4d3a00]
mov bl, 0xbc
invalid
enter 0x6a11, 0xffffffffffffff92
push 0xffffffffffffff92
out 0x36, al
jecxz 0x4ac28e
loop 0x4ac24e
mov word [ecx + 0x6c0d749f], fs
inc dword [ecx - 0x27]
cmp esp, dword [edx + 0x20]
leave
mov dword [ecx - 0x46], esi
sal byte [edx], 0x66
inc ecx
dec esi
mov al, 0xa
and edi, dword [esi - 0x6e2a73e9]
enter 0x288, 4
push eax
scasb al, byte es:[edi]
adc al, 0x4f
xor cl, bl
add bl, bh
idiv byte [edi - 0x2e]
and al, 0xe9
dec ebp
inc ecx
push edx
xchg esi, eax
fstp xword [ebp - 0x11]
mov byte [0x4a1a658f], al
mov eax, dword [0x92885f34]
bnd jo 0x4ac2ac
adc dl, byte [esi + edx*8 - 0x49cd823]
pop ebx
xchg edi, eax
push esp
add byte [esi + 0x1e886006], 0x9d
invalid

Function at 0x4bb371
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33b0
cmp edx, dword [eax]
je 0x4bb393
add eax, 8
inc ecx
cmp eax, 0x4c3440
jl 0x4bb384
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33b0]
jne 0x4bb4c1
mov eax, dword [0x4c7d3c]
cmp eax, 1
je 0x4bb49b
test eax, eax
jne 0x4bb3c4
cmp dword [0x4c32d8], 1
je 0x4bb49b
cmp edx, 0xfc
je 0x4bb4c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb3fb
lea eax, [ebp - 0x1a4]
push 0x4c0860
push eax
call fcn.004bbd50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc1e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb43e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc1e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c085c
push edi
call fcn.004be0b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0840
push eax
call fcn.004bbd50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd60
lea eax, [ebp - 0xa0]
push 0x4c083c
push eax
call fcn.004bbd60
push dword [esi + 0x4c33b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd60
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c0814
push eax
call fcn.004be024
add esp, 0x2c
pop edi
jmp 0x4bb4c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33b4]
push 0
push eax
push dword [esi]
call fcn.004bc1e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret