joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48012c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push esi
push edi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe0]
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0040c120
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 1
call fcn.00431db0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 2
mov dword [esp + 0x10], ebx
call fcn.00431130
cmp eax, ebx
jne 0x43bb1e
cmp dword [esp + 0xc], 0x3e8
jne 0x43bb1e
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x1c]
push edx
push 0x3e9
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 3
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x43baec
mov dword [esp + 0x14], ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x43badf
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x43badf
cmp dword [esp + 0x14], ebx
jne 0x43baf5
mov eax, dword [esp + 0x18]
add eax, esi
push eax
lea ecx, [esp + 0x78]
call fcn.00431db0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 4
mov dword [esp + 0x14], ebx
call fcn.00431130
mov edi, eax
cmp edi, ebx
jne 0x43babd
cmp dword [esp + 0x10], 0x3eb
jne 0x43babd
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x2c]
push edx
push 0x3ee
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 5
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x43bab4
lea ecx, [esp + 0x2c]
call fcn.00401160
test eax, eax
jbe 0x43bab4
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x2c]
call fcn.0040ca20
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 3
call fcn.004313a0
mov eax, dword [esp + 0x18]
inc ebp
add eax, 0x1c
mov dword [esp + 0x18], eax
jmp 0x43ba01
cmp dword [esp + 0x14], ebx
jne 0x43baf5
mov edi, 0x1f6
jmp 0x43baf5
mov esi, dword [esp + 0x20]
mov edi, 0x1f5
cmp esi, ebx
pop ebp
je 0x43bb23
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0040c2f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004620d3
add esp, 0x14
jmp 0x43bb23
mov edi, 0x1f5
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 1
call fcn.004313a0
cmp dword [esp + 0x50], 0x10
jb 0x43bb4b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0xcc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc0]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0xcc
ret 4
Function at 0x43d460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4803bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push esi
push edi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe0]
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0040c120
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 1
call fcn.00431db0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 2
mov dword [esp + 0x10], ebx
call fcn.00431130
cmp eax, ebx
jne 0x43d66e
cmp dword [esp + 0xc], 0x3e8
jne 0x43d66e
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x1c]
push edx
push 0x3e9
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 3
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x43d63c
mov dword [esp + 0x14], ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x43d62f
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x43d62f
cmp dword [esp + 0x14], ebx
jne 0x43d645
mov eax, dword [esp + 0x18]
add eax, esi
push eax
lea ecx, [esp + 0x78]
call fcn.00431db0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 4
mov dword [esp + 0x14], ebx
call fcn.00431130
mov edi, eax
cmp edi, ebx
jl 0x43d60d
cmp dword [esp + 0x10], 0x3ec
jne 0x43d60d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x2c]
push edx
push 0x3ef
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe0], 5
call fcn.00432730
mov edi, eax
cmp edi, ebx
jne 0x43d604
lea ecx, [esp + 0x2c]
call fcn.00401160
test eax, eax
jbe 0x43d604
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x2c]
call fcn.0040ca20
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 3
call fcn.004313a0
mov eax, dword [esp + 0x18]
inc ebp
add eax, 0x1c
mov dword [esp + 0x18], eax
jmp 0x43d551
cmp dword [esp + 0x14], ebx
jne 0x43d645
mov edi, 0x1f6
jmp 0x43d645
mov esi, dword [esp + 0x20]
mov edi, 0x1f5
cmp esi, ebx
pop ebp
je 0x43d673
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0040c2f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004620d3
add esp, 0x14
jmp 0x43d673
mov edi, 0x1f5
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], 1
call fcn.004313a0
cmp dword [esp + 0x50], 0x10
jb 0x43d69b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0xcc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc0]
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0xcc
ret 4
Function at 0x43ef00
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
xor edx, edx
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
je 0x43ef2b
mov edx, 1
test esi, esi
je 0x43ef30
inc edx
test edi, edi
je 0x43ef35
inc edx
mov eax, dword [ecx]
test eax, eax
je 0x43ef5e
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push 0
push edx
mov edx, dword [esp + 0x30]
push 0
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x43ef6c
pop edi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0xc
ret 0x14
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret 0x14
Function at 0x440d39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x440d8c
call fcn.00476002
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x440d8c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x440d82
xor eax, eax
jmp 0x440ea5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x440dbc
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x440dbc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x440ea2
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x440de9
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0043f01b
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x440ea2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x440e32
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x440e32
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x440e2c
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0043f01b
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x440e92
and dword [ebp + 0xc], 0
jmp 0x440e92
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x440e92
push 0xc
call fcn.004620a8
mov esi, eax
test esi, esi
pop ecx
je 0x440e74
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x440e76
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x440e8d
push dword [ebp - 8]
call fcn.0045c53b
jmp 0x440e92
call fcn.0045c512
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x440df7
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x449697
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x496a40
call fcn.0044cb80
mov edi, 0x94
mov eax, edi
call fcn.0044ace0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4ad2dc], ecx
mov eax, dword [esi + 4]
mov dword [0x4ad2e8], eax
mov edx, dword [esi + 8]
mov dword [0x4ad2ec], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4ad2e0], esi
cmp ecx, 2
je 0x4496f7
or esi, 0x8000
mov dword [0x4ad2e0], esi
shl eax, 8
add eax, edx
mov dword [0x4ad2e4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x449732
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x449732
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44974a
cmp eax, 0x20b
je 0x449737
mov dword [ebp - 0x1c], esi
jmp 0x44975e
cmp dword [ecx + 0x84], 0xe
jbe 0x449732
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x449758
cmp dword [ecx + 0x74], 0xe
jbe 0x449732
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044e124
pop ecx
test eax, eax
jne 0x449772
push 0x1c
call fcn.00449673
pop ecx
call fcn.0044e01b
test eax, eax
jne 0x449783
push 0x10
call fcn.00449673
pop ecx
call fcn.0044dd73
mov dword [ebp - 4], esi
call fcn.0044db75
test eax, eax
jge 0x44979c
push 0x1b
call fcn.0044964e
pop ecx
call fcn.0044dad6
mov dword [0x4aedb0], eax
call fcn.0044d96c
mov dword [0x4ad2c4], eax
call fcn.0044d8d6
test eax, eax
jge 0x4497c1
push 8
call fcn.0044964e
pop ecx
call fcn.0044d6a3
test eax, eax
jge 0x4497d2
push 9
call fcn.0044964e
pop ecx
push 1
call fcn.0044c9e4
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4497e8
push eax
call fcn.0044964e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.0044d65d
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x449809
movzx eax, word [ebp - 0x40]
jmp 0x44980c
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0045a60a
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44982a
push edi
call fcn.0044cb11
call fcn.0044cb33
jmp 0x44985c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044cbbb
ret
Function at 0x44c851
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44c86e
call fcn.0044d09a
mov dword [eax], 0x16
xor eax, eax
jmp 0x44c8d8
push esi
push 0x8c
push 1
call fcn.0044cd7f
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44c8c3
push esi
call fcn.0044de21
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44c8a1
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44c7bc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44c8d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449dbf
test ebx, ebx
pop ecx
je 0x44c8d5
push ebx
call fcn.0044d0ac
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44ca4e
Capabilities:
Terminate process

Disassembly:
push 8
push 0x496cc8
call fcn.0044cb80
push 8
call fcn.0044e4f1
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4ad31c], esi
jne 0x44ca82
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4ad318], esi
mov al, byte [ebp + 0x10]
mov byte [0x4ad314], al
cmp dword [ebp + 0xc], edi
jne 0x44cacc
cmp dword [0x4aeda8], edi
je 0x44cabc
mov eax, dword [0x4aeda4]
sub eax, 4
mov dword [0x4aeda4], eax
cmp eax, dword [0x4aeda8]
jb 0x44cabc
mov eax, dword [eax]
cmp eax, edi
je 0x44ca9d
call eax
jmp 0x44ca9d
push 0x4a7140
mov eax, 0x4a7138
call fcn.0044c9cc
pop ecx
push 0x4a714c
mov eax, 0x4a7144
call fcn.0044c9cc
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44cafd
cmp dword [ebp + 0x10], edi
jne 0x44cb0b
mov dword [0x4ad31c], esi
push dword [ebp + 8]
call fcn.0044c98a
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44cb0a
push 8
call fcn.0044e43c
pop ecx
ret
call fcn.0044cbbb
ret
Function at 0x44cbcc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044ace0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44cc67
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4ad2dc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44cc67
cmp eax, 1
je 0x44cc88
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44cc67
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44cc34
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44cc63
xor eax, eax
inc eax
jmp 0x44cca7
cmp edi, eax
jae 0x44cc6b
xor eax, eax
jmp 0x44cca7
cmp eax, esi
jae 0x44cc72
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4ad2dc]
jmp 0x44cc8b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d348
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4a8ae4]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4a8cc8]
je 0x44d37f
inc eax
cmp eax, 0x13
jb 0x44d370
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4a8cc8]
jne 0x44d4a2
mov eax, dword [0x4ad2c8]
cmp eax, 1
je 0x44d47d
cmp eax, edx
jne 0x44d3af
cmp dword [0x4a8ac0], 1
je 0x44d47d
cmp ecx, 0xfc
je 0x44d4a2
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44d3e5
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.0044fa20
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.0044c700
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44d419
mov eax, edi
push eax
call fcn.0044c700
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x496b58
push edi
call fcn.004541f0
add esp, 0x10
push edi
call fcn.0044c700
push dword [esi + 0x4a8ccc]
mov ebx, eax
call fcn.0044c700
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0044ace0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.0044fa20
push edi
push ebx
call fcn.0044fa30
push 0x496b50
push ebx
call fcn.0044fa30
push dword [esi + 0x4a8ccc]
push ebx
call fcn.0044fa30
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00453fae
add esp, 0x2c
jmp 0x44d4a2
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x4a8ccc]
push dword [esi]
call fcn.0044c700
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]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0044a318
add ebp, 0x90
leave
ret
Function at 0x44d96c
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x4ad534]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x44d9b5
call ebp
mov esi, eax
cmp esi, ebx
je 0x44d99b
mov dword [0x4ad534], 1
jmp 0x44d9ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44d9b0
push 2
pop eax
mov dword [0x4ad534], eax
jmp 0x44d9b5
mov eax, dword [0x4ad534]
cmp eax, 1
jne 0x44da12
cmp esi, ebx
jne 0x44d9cd
call ebp
mov esi, eax
cmp esi, ebx
jne 0x44d9cd
xor eax, eax
jmp 0x44dab9
cmp word [esi], bx
mov eax, esi
je 0x44d9e2
inc eax
inc eax
cmp word [eax], bx
jne 0x44d9d4
inc eax
inc eax
cmp word [eax], bx
jne 0x44d9d4
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call fcn.0044a731
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x44da05
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x44dab9
push ebp
push esi
push edi
call fcn.0044b990
add esp, 0xc
jmp 0x44d9f7
cmp eax, 2
je 0x44da1b
cmp eax, ebx
jne 0x44d9c6
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x44d9c6
cmp byte [ebp], bl
mov esi, ebp
je 0x44da51
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x44d9c6
push esi
add edi, eax
call fcn.0044c700
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x44da2e
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call fcn.0044a731
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x44daca
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x44daab
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x44dac0
push edi
call fcn.0044c700
push esi
lea edi, [edi + eax + 1]
call fcn.00449da9
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x44da71
push ebp
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call fcn.00449dbf
pop ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x44d9c6
Function at 0x44dad6
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x4ad538]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x44db16
call esi
test eax, eax
je 0x44dafb
mov dword [0x4ad538], 1
jmp 0x44db1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44db12
mov dword [0x4ad538], 2
jmp 0x44db24
xor eax, eax
jmp 0x44db72
cmp eax, 1
jne 0x44db1f
call esi
jmp 0x44db72
cmp eax, 2
jne 0x44db12
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 1
push ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x44db6a
lea eax, [esi + esi]
push eax
call fcn.0044a731
mov ebp, eax
test ebp, ebp
pop ecx
je 0x44db6a
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
test eax, eax
jne 0x44db6e
push ebp
call fcn.00449dbf
pop ecx
xor eax, eax
jmp 0x44db70
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x44e175
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x44e1a3
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x44e1aa
cmp ebx, dword [eax + 4]
jae 0x44e1aa
xor eax, eax
jmp 0x44e39a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x44e1bb
xor eax, eax
inc eax
jmp 0x44e399
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44e1d1
cmp ecx, edx
jae 0x44e316
cmp dword [eax + 4], 0
je 0x44e1da
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x44e1c2
cmp dword [ebp + 8], 0
je 0x44e1fc
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x44e316
cmp eax, esi
jae 0x44e316
mov eax, dword [0x4ad550]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x44e221
cmp dword [esi*4 + 0x4ad558], edi
je 0x44e31a
inc esi
cmp esi, eax
jl 0x44e20f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44e396
cmp dword [ebp - 8], 0x1000000
jne 0x44e396
test byte [ebp - 0xc], 0xcc
je 0x44e29f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x44e396
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44e396
cmp word [eax + 0x18], 0x10b
jne 0x44e396
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x44e396
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x44e29f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x44e29f
test byte [ecx + 0x27], 0x80
jne 0x44e316
push 1
push 0x4ad598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x44e1b3
mov ecx, dword [0x4ad550]
test ecx, ecx
mov edx, ecx
jle 0x44e2d3
lea eax, [ecx*4 + 0x4ad554]
cmp dword [eax], edi
je 0x44e2d3
dec edx
sub eax, 4
test edx, edx
jg 0x44e2c7
test edx, edx
jne 0x44e304
push 0xf
pop ebx
cmp ecx, ebx
jg 0x44e2e0
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x44e2f8
lea eax, [edx*4 + 0x4ad558]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x44e2e6
cmp ecx, 0x10
jge 0x44e304
inc ecx
mov dword [0x4ad550], ecx
push 0
push 0x4ad598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x44e1b3
xor eax, eax
jmp 0x44e399
test esi, esi
jle 0x44e1b3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4ad598
call ebx
test eax, eax
jne 0x44e1b3
cmp dword [esi*4 + 0x4ad558], edi
je 0x44e370
mov eax, dword [0x4ad550]
lea esi, [eax - 1]
test esi, esi
jl 0x44e35e
cmp dword [esi*4 + 0x4ad558], edi
je 0x44e35a
dec esi
jns 0x44e34e
test esi, esi
jge 0x44e36e
cmp eax, 0x10
jge 0x44e369
inc eax
mov dword [0x4ad550], eax
lea esi, [eax - 1]
jmp 0x44e370
je 0x44e388
xor ecx, ecx
test esi, esi
jl 0x44e388
lea eax, [ecx*4 + 0x4ad558]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x44e376
push 0
push 0x4ad598
call ebx
jmp 0x44e1b3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret