joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434260
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042ea10
test eax, eax
je 0x43434f
mov ecx, edi
call fcn.0042ea10
mov ecx, eax
call fcn.0042bf90
test eax, eax
jne 0x43434f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43434f
mov eax, dword [0x49cf90]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4342c2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042ea10
mov ecx, eax
call fcn.0042c1c0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43434f
cmp ebx, eax
jne 0x43434f
cmp dword [esp + 0x10], eax
jne 0x434335
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x436f80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e418
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x436fb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4370cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x436fcd
mov eax, 0xffffffc7
jmp 0x4370ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x436fde
cmp dword [esi + 8], eax
jne 0x436fcd
cmp dword [esi + 8], eax
jne 0x436ff7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436ff7
mov eax, 0xffffffc7
jmp 0x4370ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43700b
push eax
mov ecx, ebx
call fcn.004367b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408c90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43703c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408cb0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435f20
test eax, eax
mov dword [esp + 0x38], eax
je 0x43706f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473000
call fcn.00408e90
mov eax, dword [esp + 0x38]
jmp 0x4370ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436de0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4370b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436e00
mov esi, eax
test esi, esi
jne 0x4370e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436de0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437085
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473000
call fcn.00408e90
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473000
call fcn.00408e90
mov eax, esi
jmp 0x4370ce

Function at 0x43a210
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a270
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a270
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a270
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a270
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43a2b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x440400
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ea48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004679a3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043fda0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004678d1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464197
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464197
push 1
push 0
push 0
mov ecx, esi
call fcn.0046413f
push 1
push 0
push 1
mov ecx, esi
call fcn.0046413f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467a15
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440580
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ea68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004679a3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043fda0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004678d1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x440644
cmp dword [esp + 0x40], 1
jne 0x440642
cmp ecx, eax
jge 0x440644
mov eax, ecx
cmp eax, 0xc8
jge 0x440650
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440400
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467a15
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440dc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ead3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004625b3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00467c4b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469167
test eax, eax
je 0x440edc
mov ecx, dword [esp + 0x3c]
call fcn.00467c78
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440ea0
push edi
mov ecx, esi
call fcn.004652e1
mov ecx, esi
call fcn.00441040
cmp dword [esp + 0x38], 1
jne 0x440ed5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046541c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443933
push esi
call fcn.004469f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44392c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4439b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4439a2
mov eax, dword [esi + 8]
test eax, eax
je 0x443957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44399e
cmp eax, 2
je 0x4439a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44394a
cmp eax, 3
je 0x44397d
cmp eax, 1
jne 0x44394a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44394a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44394a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004439e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4439c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004439e0
add esp, 4
pop esi
ret

Function at 0x4633a8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4633e0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046145f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461437
jmp 0x4633ec
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464a9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464add
call fcn.0046a54d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464add
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464ad4
xor eax, eax
jmp 0x464ae5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464aeb
pop edi
pop esi
pop ebx
ret 4

Function at 0x46aa7d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46aaab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46aac9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a9e3
jmp 0x46aac9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46aac9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a9e3
test edi, edi
mov eax, edi
jne 0x46aab3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
fld dword [0x446b10]
mov dword [ebp - 4], 0
fstp dword [0x44c0b0]
mov ax, word [0x44c334]
mov cx, word [0x44c238]
movsx edx, cx
mov ecx, dword [0x44c560]
cwde
add eax, edx
add ecx, eax
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
fld dword [0x44c108]
fsub qword [0x446b08]
fadd dword [0x44c304]
fcompp
fnstsw ax
fld dword [0x44c108]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44c108]
inc word [0x44c334]
test ah, 0x41
jp 0x408038
fld dword [0x44c1f8]
fadd st(1)
fstp dword [0x44c1f8]
fld dword [0x44c1f8]
fsub qword [0x44c2b8]
fsub dword [0x44c05c]
fadd qword [0x44c3f0]
fstp qword [0x44c3f0]
fld dword [0x44c05c]
fadd st(1)
fstp dword [0x44c05c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
imul esi, dword [ebp + 0x10]
test esi, esi
jne 0x40806c
mov dx, word [0x44c344]
fstp st(0)
movsx eax, dx
sub eax, 0xd582b82
mov dword [0x44c1c8], eax
inc word [0x44c344]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x44c098]
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
fld dword [0x44c0f0]
fadd dword [0x44c134]
fadd qword [0x446b00]
fsubp st(1)
fistp qword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov dword [0x44c098], edx
fadd dword [0x44c0f0]
fstp dword [0x44c0f0]
call fcn.004074a0
fld qword [0x44c1f0]
push 0
fld qword [0x44c3c8]
movzx ecx, word [0x44c16c]
movsx edx, cx
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
fild dword [ebp + 0xc]
push ecx
push esi
push edx
fsubp st(1)
push eax
fsubp st(1)
fstp qword [0x44c1f0]
inc word [0x44c16c]
fld qword [0x44c3c8]
fadd qword [0x445d00]
fstp qword [0x44c3c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
fld qword [0x44c3f0]
or eax, 0xffffffff
fadd qword [0x445d00]
fstp qword [0x44c3f0]
add word [0x44c4e0], ax
movzx ecx, word [0x44c52c]
movsx edx, cx
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
fadd qword [0x44c3f0]
movzx ecx, word [0x44c4e0]
movsx edx, cx
mov dword [ebp + 0xc], edx
xor edx, edx
fild dword [ebp + 0xc]
faddp st(1)
fstp dword [0x44c4b8]
add word [0x44c52c], ax
mov eax, dword [ebp - 4]
div edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c4e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
fld dword [0x44c3a4]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44c3a4]
fld qword [0x44c320]
fadd st(1)
fstp qword [0x44c320]
fld dword [0x44c3a4]
fsubr qword [0x447120]
fld qword [0x44c498]
fsub qword [0x44c320]
fcompp
fnstsw ax
fsubr qword [0x44c498]
fstp qword [0x44c498]
test ah, 0x41
jne 0x41c53e
mov eax, 0xffff9489
mov word [0x44c314], ax
jmp 0x41c557
mov ecx, dword [0x44c03c]
add ecx, 0xe42aaba
mov word [0x44c130], cx
dec dword [0x44c03c]
call fcn.0043f150
inc word [0x44c15c]
fld dword [0x44c468]
mov dx, word [0x44c15c]
mov ecx, dword [ebp + 8]
movsx eax, dx
mov dword [ebp - 4], eax
push ecx
fild dword [ebp - 4]
faddp st(1)
fsub qword [0x447118]
fadd qword [0x44c228]
fstp qword [0x44c228]
fld dword [0x44c468]
fadd qword [0x445d00]
fstp dword [0x44c468]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4225e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
or esi, 0xffffffff
add word [0x44c114], si
movzx eax, word [0x44c114]
mov edx, dword [0x44c260]
cwde
add eax, 0x8b2ac725
imul edx, eax
mov dword [0x44c260], edx
mov dword [ecx], 0
movzx eax, word [0x44c20c]
movsx edx, ax
sub edx, 0x35b6b9df
cmp edx, 0x6b602ff0
push edi
jg 0x422653
mov eax, dword [0x44c438]
add dword [0x44c438], esi
mov edx, 0x85f06bf4
sub edx, eax
cmp edx, 0x4d8041a2
jl 0x422665
add word [0x44c470], si
mov ax, word [0x44c470]
jmp 0x422665
fld dword [0x44c230]
fsub qword [0x4468e0]
fstp dword [0x44c230]
mov dword [ecx + 4], 0
fld dword [0x44c220]
mov dx, word [0x44c138]
movsx eax, dx
mov dword [ebp - 4], eax
mov edx, 1
fild dword [ebp - 4]
faddp st(1)
fadd qword [0x44c080]
fstp qword [0x44c080]
add word [0x44c138], dx
mov dword [ecx + 8], 0x67452301
fld qword [0x44c028]
mov eax, dword [0x44c2f4]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fsubp st(1)
fadd dword [0x44c0e8]
mov ax, word [0x44c144]
add word [0x44c144], dx
cwde
sub eax, 0x55d754b9
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fucompp
fnstsw ax
fld dword [0x44c0e8]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44c0e8]
add dword [0x44c2f4], edx
fadd qword [0x44c028]
fstp qword [0x44c028]
test ah, 0x44
jp 0x422733
fld dword [0x44c4e8]
mov ax, word [0x44c448]
mov di, word [0x44c52c]
cwde
movsx edi, di
sub eax, edi
add eax, 0x2edde804
mov dword [ebp - 4], eax
fisub dword [ebp - 4]
fstp dword [0x44c4e8]
add word [0x44c52c], si
mov dword [ecx + 0xc], 0xefcdab89
mov eax, dword [0x44c018]
movzx edi, word [0x44c144]
add eax, 0xa5c68902
imul edi, eax
mov word [0x44c144], di
mov dword [ecx + 0x10], 0x98badcfe
mov ax, word [0x44c550]
cwde
add dword [0x44c514], eax
add word [0x44c550], si
mov dword [ecx + 0x14], 0x10325476
add dword [0x44c430], edx
mov ecx, dword [0x44c430]
add ecx, 0x2091ee27
mov dword [ebp - 4], ecx
pop edi
pop esi
fild dword [ebp - 4]
fstp qword [0x44c4d0]
mov esp, ebp
pop ebp
ret
Function at 0x42dee0
Capabilities:
Terminate process

Disassembly:
mov ax, word [0x44c350]
movsx ecx, ax
cmp ecx, 0x1970a499
push esi
jge 0x42df06
movzx edx, word [0x44c0a4]
sub edx, 0x13a50441
mov word [0x44c0a4], dx
call fcn.0041fe30
fld dword [0x44c360]
fstp qword [0x44c2e8]
fld dword [0x44c360]
fsub qword [0x445d00]
fstp dword [0x44c360]
call fcn.00424810
fld dword [0x44c05c]
push 0x442120
fld dword [0x44c57c]
push 0x442118
fadd qword [0x44b550]
fadd qword [0x44b548]
fsubp st(1)
fstp dword [0x44c05c]
call fcn.004013c0
fld dword [0x44c2d8]
add esp, 8
fstp qword [0x44c398]
fld dword [0x44c2d8]
fadd qword [0x445d00]
fstp dword [0x44c2d8]
call fcn.00409d40
mov esi, eax
mov ax, word [0x44c058]
mov ecx, dword [0x44c310]
mov edx, dword [0x44c590]
cwde
sub eax, ecx
imul edx, eax
mov dword [0x44c590], edx
call fcn.0043f150
push esi
fld qword [0x44b540]
fstp qword [0x44c4d0]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402ddc
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402e19
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402e39
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405014
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403080
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4030d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402f1c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402f1c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x4030c3
inc ebx
jmp 0x4030ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030e0
lea eax, [ebp - 8]
call fcn.00404da4
ret

Function at 0x4030e8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404da4
test esi, esi
jne 0x40311f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e94
jmp 0x403140
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402f1c
mov dword [esp], eax
test esi, esi
je 0x403140
cmp dword [ebx], 0
je 0x403140
dec esi
jmp 0x403127
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4036b0
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a7024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403d08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ce8
xor eax, eax
push ebp
push 0x403ce1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403d24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ce8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a7024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a7024], ax
mov esp, ebp
pop ebp
ret
Function at 0x40499c
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x4ab638
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x4ab658]
pop dword [0x4ab654]
mov dword [0x4ab64c], ebp
mov dword [0x4ab650], ebx
mov dword [0x4ab640], eax
mov dword [0x4ab648], edx
lea ecx, [ebp - 0x3c]
mov dword [0x4ab638], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x4049e4
mov ecx, dword [eax]
mov dword [0x4ab644], ecx
mov eax, 0x401370
mov dword [0x4ab014], eax
mov eax, 0x401380
mov dword [0x4ab018], eax
call fcn.00404874
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x4ab660], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x4ab65c], edx
je 0x404a1f
cmp al, 3
jge 0x404a1f
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x404a30
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x404a3b
call dword [ecx + eax*4]
cmp dword [0x4ab030], 0
jne 0x404a51
mov byte [0x4ab038], 1
fnstcw word [0x4a7024]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00404c08
call fcn.0040492c
ret 4