joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aeda
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40af1a
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 0x12f4
push 0x24d4
push dword [ebp - 0xc]
push 0x62cb
push 0x46c3
push 0
call fcn.0040ef5f
add esp, 0x1c
jmp 0x40af8b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40af40
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x40af8b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40af6e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x40af8b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.004012f8
mov dword [eax], 0x9ed9ba07
jmp 0x40af63
mov esp, ebp
pop ebp
ret
Function at 0x40b6b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40b6e7
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
push 0x240e
push 0x3c03
push 0x2a49
push 0
push dword [ebp - 0x28]
call fcn.0040b83b
add esp, 0x14
jmp 0x40b837
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x40b734
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x40b72f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x40b837
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40b7a4
xor eax, eax
jne 0x40b772
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40b772
and dword [ebp - 0x10], 0
jmp 0x40b779
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jge 0x40b78c
mov dword [ebp - 0x14], 1
jmp 0x40b790
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 4
jb 0x40b7a4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x40b7a4
and dword [ebp - 0x18], 0
jmp 0x40b7ab
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x40b7c1
push 4
pop eax
test eax, eax
je 0x40b7c1
mov dword [ebp - 0x1c], 1
jmp 0x40b7c5
and dword [ebp - 0x1c], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.004012f8
mov eax, dword [eax]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.004012f8
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0xc]
call fcn.004012f8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0xf58a
cmp eax, 0x9507
jge 0x40b814
mov dword [ebp - 0x20], 1
jmp 0x40b818
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jne 0x40b82b
mov dword [ebp - 0x24], 1
jmp 0x40b82f
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d42b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40d443
push 0
call fcn.0040e9d0
pop ecx
jmp 0x40d4b6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40d4ac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40d48d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x40d4aa
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.004012f8
mov dword [eax], 0xbca63185
jmp 0x40d482
jmp 0x40d4b6
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esp, ebp
pop ebp
ret

Function at 0x40d904
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40d92b
push 0x608c
push 1
push 0x6626
call fcn.0040d9af
add esp, 0xc
jmp 0x40d9ab
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40d98d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x40d9ab
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x40d9ab
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esp, ebp
pop ebp
ret
Function at 0x40db93
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40dc14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40dbc1
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40dc12
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x40dbe3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jg 0x40dc12
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40dc10
push 0x21e3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
jmp 0x40dbd8
jmp 0x40dc58
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push 0
push 0xec6
push dword [ebp - 0x18]
push 0x871
push 0x6f8b
push 0x6cff
push dword [ebp - 0x1c]
push 0x62ea
push 0x6a2
push 0x687c
push 0x57ce
call fcn.0040ab96
add esp, 0x2c
mov esp, ebp
pop ebp
ret

Function at 0x40eaf3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40eb1b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x7ced
push 1
call fcn.0040eb72
add esp, 0xc
jmp 0x40eb6e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40eb43
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x40eb6e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.004012f8
mov dword [eax], 0xfffffffc
mov esp, ebp
pop ebp
ret

Function at 0x40ee32
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40ee92
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40ee7f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40ee7d
push 0x239d
push 1
push 0x1ffe
push 0x2eac
push 1
push 0x7cd9
push 0
call fcn.0040f3eb
add esp, 0x1c
jmp 0x40ee90
push 0
push 0xd76
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x40eea6
push 0x91e
push 0
push 0x31cd
call fcn.0040bc79
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x425682
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4256bd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0x2e07
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
push 0x7acc
push 0x4194
call fcn.0042aec2
add esp, 0x18
jmp 0x425739
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4256f1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4256ef
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x425739
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x42571f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x425739
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.004012f8
or dword [eax], 0xffffffff
jmp 0x425714
mov esp, ebp
pop ebp
ret
Function at 0x431ee9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x431f7c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x431f2f
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x431f2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x431f7a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x431f5d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x431f7a
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.004012f8
mov dword [eax], 0x3e19f23e
jmp 0x431f52
jmp 0x431fa6
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x518b
call fcn.004329e7
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x447d43
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 0x10], 0
push esi
mov esi, ecx
je 0x447d96
cmp byte [ebp + 8], 0
je 0x447d8c
mov dword [esi], 0
jmp 0x447d85
mov dword [ebp - 8], 0xdb8faaae
cmp dword [ebp - 8], 0
jne 0x447da4
push ecx
push 1
push esi
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push ecx
call fcn.00447da9
add esp, 0x24
inc dword [esi]
cmp dword [esi], 1
jle 0x447d5f
jmp 0x447da4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x447da4
mov byte [ebp + 0x10], 0
mov byte [ebp - 4], 1
mov dword [edx], 0xfffffffb
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x448ea6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x14], 0
push ebx
push esi
je 0x448efc
cmp byte [ebp + 8], 0
je 0x448ef8
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi], ebx
jmp 0x448ef1
mov byte [ebp + 0x17], bl
mov byte [ebp - 8], 1
cmp byte [ebp + 0x17], bl
je 0x448ed7
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov byte [ebp - 1], bl
mov byte [ebp - 0xc], 1
cmp byte [ebp - 1], bl
je 0x448eef
push 0x11fa
push ebx
call dword [sym.imp.USER32.dll_CharLowerBuffW]
inc dword [esi]
cmp dword [esi], 3
jle 0x448ec3
jmp 0x448f1b
dec dword [ecx]
jmp 0x448f1b
cmp byte [ebp + 0xc], 0
je 0x448f15
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x14], 8
jb 0x448f0d
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x14], ecx
jmp 0x448f1b
mov dword [edx], 0x20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c7e2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [ebp + 0xc], 0
push edi
mov edi, edx
je 0x44c8bf
push ebx
push esi
push 3
mov dword [ebp + 0xc], 0xfffffffc
lea ecx, [ebp - 0x18]
pop ebx
xor esi, esi
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
push ebx
call fcn.004016e3
mov dword [ebp - 4], 6
mov dword [ebp - 4], esi
jmp 0x44c835
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*4], 0x51723279
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x44c825
mov eax, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
mov eax, dword [ebp - 8]
setle dl
xor ecx, ecx
cmp eax, edx
setl cl
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 4], 0xf996
cmp eax, dword [ebp - 0xc]
jle 0x44c875
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], esi
je 0x44c889
xor esi, esi
inc esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add ecx, esi
sub ecx, dword [eax + 8]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x18]
call fcn.004017b5
cmp byte [ebp + 0x10], 0
pop esi
pop ebx
je 0x44c8b4
mov dword [edi], 0x19
jmp 0x44c8ce
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x44c8ce
mov eax, dword [ecx]
test eax, eax
jns 0x44c8ce
add eax, 0x100
js 0x44c8c5
mov dword [ecx], eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44e31a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x10], 0
push esi
mov esi, ecx
je 0x44e366
cmp byte [ebp + 8], 0
je 0x44e348
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0x44e341
mov ecx, dword [edx]
mov eax, dword [esi]
or dword [eax + ecx*4], 0xffffffff
inc dword [edx]
cmp dword [edx], 2
jl 0x44e337
jmp 0x44e37e
cmp byte [edx], 0
je 0x44e37e
push 0x1d34
push 0x1cea
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x44e37e
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x44e37e
xor eax, eax
push eax
push 0xd76
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop esi
pop ebp
ret

Function at 0x44e426
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
test cl, cl
je 0x44e46a
cmp byte [ebp + 0x14], 0
je 0x44e45a
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x44e491
push esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xead9bacc
inc dword [edx]
cmp dword [edx], 2
jl 0x44e445
pop esi
pop ebp
ret
cmp dword [edx], 0xd149febb
mov eax, dword [ebp + 0xc]
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
pop ebp
ret
cmp byte [ebp + 0x18], 0
je 0x44e47f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
pop ebp
ret
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
je 0x44e491
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
pop ebp
ret
Function at 0x46962f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46facc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00465f69
mov dword [ebp - 0x14], eax
cmp dword [0xa6259c], esi
jne 0x469722
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4696af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x469802
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x469802
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x469802
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa6259c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa625a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa625a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa625ac], eax
test eax, eax
je 0x46971f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa625a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x469747
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46973a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46975c
push 4
pop eax
jmp 0x469804
cmp dword [ebp - 0x14], esi
je 0x46975c
push dword [0xa6259c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x469741
mov eax, dword [0xa625a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4697ba
cmp dword [0xa625ac], edi
je 0x4697ba
push eax
call ebx
push dword [0xa625ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4697ba
test eax, eax
je 0x4697ba
call ecx
test eax, eax
je 0x4697af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4697af
test byte [ebp - 8], 1
jne 0x4697ba
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4697ea
mov eax, dword [0xa625a0]
cmp eax, edi
je 0x4697e7
push eax
call ebx
test eax, eax
je 0x4697e7
call eax
mov esi, eax
test esi, esi
je 0x4697e7
mov eax, dword [0xa625a4]
cmp eax, edi
je 0x4697e7
push eax
call ebx
test eax, eax
je 0x4697e7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa6259c]
call ebx
test eax, eax
je 0x469802
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x469804
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046296b
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x411ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x411f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ef8
mov eax, 1
add ebx, ebx
jne 0x411f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411f10
jne 0x411f2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f10
xor ecx, ecx
sub eax, 3
jb 0x411f40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411fb2
mov ebp, eax
add ebx, ebx
jne 0x411f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411f58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411f7c
inc ecx
add ebx, ebx
jne 0x411f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411f5d
jne 0x411f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411f5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411f8d
jmp 0x411efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411f9c
add edi, ecx
jmp 0x411efe
pop esi
mov edi, esi
mov ecx, 0x5d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411fba
cmp byte [edi], 3
jne 0x411fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x411fbf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x41202e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x164cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16554]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411fec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1655c]
or eax, eax
je 0x412028
mov dword [ebx], eax
add ebx, 4
jmp 0x412009
call dword [esi + 0x16558]
mov ebp, dword [esi + 0x16560]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412062
sub esp, 0xffffff80
jmp 0x4019b0