joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e5e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [0x46b378]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x420], ebx
xor edi, edi
mov dword [ebp - 0x418], edi
lea ebx, [ebx]
mov al, byte [esi + 0x30]
test al, al
je 0x44e66e
mov ecx, dword [esi + 8]
push ebx
push 0x400
lea eax, [ebp - 0x414]
push eax
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jg 0x44e690
mov byte [esi + 0x30], 0
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x44e667
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x414]
lea ecx, [esi + 0xc]
push eax
call fcn.0044f640
cmp edi, ebx
jne 0x44e6cc
push 0x802
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edx, eax
add esp, 4
cmp edx, ebx
je 0x44e724
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, edx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x41c]
push edx
push 0x800
push edi
lea ecx, [esi + 0xc]
call fcn.0044efa0
cmp eax, 1
jne 0x44e7d7
mov ax, word [ebp - 0x41c]
lea ebx, [esi + 0x98]
push ebx
mov word [edi + 0x800], ax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x44e730
mov ecx, dword [eax + 4]
mov dword [esi + 0x74], ecx
dec dword [esi + 0x78]
jmp 0x44e74b
mov dword [ebp - 4], 0xffffffff
jmp 0x44e622
push 8
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x44e749
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x44e74b
xor eax, eax
mov dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x44e760
mov dword [esi + 0x6c], eax
jmp 0x44e763
mov dword [ecx + 4], eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x68]
inc eax
lea ecx, [esi + 0x48]
mov dword [esi + 0x68], eax
call fcn.0041f0a0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push 0x802
mov dword [ebp - 0x418], edi
call sub.MFC71U.DLL_CWordArray::CWordArray
mov edx, eax
add esp, 4
cmp edx, edi
je 0x44e7b1
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, edx
mov dword [ebp - 0x418], edi
jmp 0x44e6d2
mov dword [ebp - 0x418], edi
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
jmp 0x44e630
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
jmp 0x44e630
Function at 0x44e990
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
lea ecx, [ecx]
mov al, byte [esi + 0x30]
test al, al
je 0x44eb36
mov eax, dword [esi + 0x50]
test eax, eax
mov dword [ebp - 4], 0
jne 0x44e9e8
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
call fcn.0041f070
mov eax, dword [esi + 0x50]
test eax, eax
jle 0x44eaab
lea edi, [esi + 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x44ea06
xor ebx, ebx
jmp 0x44ea52
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
cmp edx, eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x18], ecx
jge 0x44ea30
mov ecx, dword [esi + 0x5c]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
inc eax
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
jmp 0x44ea39
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
xor eax, eax
cmp ebx, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x54], ebx
jne 0x44ea48
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x50]
mov ebx, dword [ebp - 0x18]
dec eax
mov dword [esi + 0x50], eax
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x44ea96
cmp dword [esi + 8], 0xffffffff
je 0x44ea96
xor edi, edi
jmp 0x44ea70
movzx eax, word [ebx + 0x800]
cmp edi, eax
jge 0x44ea96
mov ecx, dword [esi + 8]
push 0
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x44ea96
add edi, eax
jmp 0x44ea70
push ebx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x44e9e3
lea ebx, [esi + 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x44eac7
lea ecx, [esi + 0x4c]
call fcn.0041f0b0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
jmp 0x44e9c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
mov eax, ecx
shr eax, 5
push edi
mov edi, 0x41a3f8
test eax, eax
jbe 0x404c9a
mov eax, ecx
shr eax, 5
mov dword [ebp - 8], eax
push ebx
mov edx, edi
mov dword [ebp - 4], 0x20
mov bl, byte [edx]
xor byte [esi], bl
inc esi
inc edx
dec dword [ebp - 4]
jne 0x404c89
dec dword [ebp - 8]
jne 0x404c80
pop ebx
shl eax, 5
sub ecx, eax
je 0x404caa
mov al, byte [edi]
xor byte [esi], al
inc esi
inc edi
dec ecx
jne 0x404ca1
pop edi
pop esi
leave
ret
Function at 0x1002728
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1009088]
push esi
mov dword [ebp - 4], eax
push 0x5e
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
call fcn.01005095
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1002805
push edi
mov ecx, 0x82
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
push 0x5f
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x41c], 0x208
call fcn.01005095
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [entry0]
test eax, eax
pop edi
jne 0x10027f9
push 0x60
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.01001074]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10027f9
inc esi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01006e99
leave
ret

Function at 0x1002db1
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x1009088]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x4c4], 1
call fcn.010051d2
mov esi, dword [0x1001170]
and word [ebp - 0x206], 0
push 0x4001
mov edi, 0x2b4
push edi
lea eax, [ebp - 0x4c0]
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x4000
push edi
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0x4c0]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [ebp - 0x4c8], edi
mov dword [ebp - 0x4cc], eax
je 0x1002e66
cmp eax, edi
je 0x1002e66
push dword [ebp - 0x4c8]
mov esi, dword [fcn.01001220]
push 1
mov edi, 0x1003
push edi
push ebx
call esi
push dword [ebp - 0x4cc]
push 0
push edi
push ebx
call esi
jmp 0x1002e6c
mov dword [ebp - 0x4c4], edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c4]
pop edi
pop esi
pop ebx
call fcn.01006e99
leave
ret 4
Function at 0x1002e86
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1009088]
push esi
push 0xffffffffffffffec
push dword [0x10092e0]
mov dword [ebp - 4], eax
call dword [0x10011c4]
mov esi, dword [0x1009d1c]
and eax, 0x400000
test esi, esi
mov dword [ebp - 0x218], eax
je 0x1003106
push ebx
mov ebx, dword [fcn.01001220]
push edi
cmp dword [esi + 0x20], 0
je 0x10030f9
cmp dword [esi + 0x1c], 0
jne 0x10030f9
push dword [esi + 4]
call dword [0x1001070]
test eax, eax
je 0x10030f9
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24c], 7
mov eax, dword [esi + 0x18]
xor edi, edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x244], edi
mov eax, dword [esi]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push edi
push 0x104d
push dword [0x10090a0]
mov dword [ebp - 0x248], 0x7fffffff
call ebx
mov dword [ebp - 0x248], eax
xor eax, eax
inc eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push edi
push 0x104c
push dword [0x10090a0]
call ebx
push 0x32
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
mov edi, dword [ebp - 0x218]
neg edi
sbb edi, edi
xor ecx, ecx
push ecx
push ecx
push ecx
lea eax, [esi + 0x2c]
and edi, 0x20
push eax
inc edi
push edi
push 0x800
call dword [0x10010b8]
test eax, eax
mov dword [ebp - 0x214], eax
je 0x1003014
lea eax, [eax + eax + 2]
push eax
push 8
call dword [0x1001084]
push eax
call dword [0x1001080]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x1003014
push dword [ebp - 0x214]
push eax
push 0
lea eax, [esi + 0x2c]
push eax
push edi
push 0x800
call dword [0x10010b8]
test eax, eax
je 0x1002fff
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call dword [0x100106c]
push dword [ebp - 0x210]
push 0
call dword [0x1001084]
push eax
call dword [0x100107c]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push 0
mov edi, 0x104c
push edi
push dword [0x10090a0]
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x244], 2
call ebx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003062
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x100106c]
jmp 0x1003070
push 0x32
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push 0
push edi
push dword [0x10090a0]
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x244], 3
call ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x10030b9
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x100106c]
jmp 0x10030c7
push 0x1f
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
push 0
push edi
push dword [0x10090a0]
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x244], 4
call ebx
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x1002ec9
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.01006e99
leave
ret
Function at 0x1003b78
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1009088]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [0x100108c]
test eax, eax
jne 0x1003bae
and word [ebp - 0x20c], ax
push esi
lea eax, [ebp - 0x414]
push eax
push 0x3fa
push edi
call dword [0x100120c]
test eax, eax
jne 0x1003bcf
push 0x21
call fcn.01005193
jmp 0x1003bea
push 5
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
push 0
push edi
call dword [0x1001180]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01006e99
leave
ret 4

Function at 0x1003d33
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1009088]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x20c]
rep stosd dword es:[edi], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.01003bfd
test eax, eax
je 0x1003e2f
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x100990c
push edi
call dword [0x100106c]
push 0x3fb
push esi
call dword [0x1001208]
mov dword [0x1009d40], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x1001340
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1003e2a
cmp dword [0x1009d44], ebx
mov dword [ebp - 0x210], ebx
je 0x1003dda
mov dword [ebp - 0x210], 1
cmp dword [0x1009d40], ebx
je 0x1003de9
or dword [ebp - 0x210], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push ebx
push 0x1001334
push dword [ebp - 0x214]
call esi
push 0x104
push edi
push 1
push ebx
push 0x1001324
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x1003e31
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01006e99
leave
ret 4
Function at 0x1005c03
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x1009088]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
push 0x4401
xor eax, eax
mov ecx, 0xad
lea edi, [ebp - 0x2b8]
push 0x2b4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b8]
push eax
push 0
push dword [esi]
call dword [0x1001170]
cmp word [ebp - 0xa4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x18], eax
je 0x1005c90
lea eax, [ebp - 0xa4]
push eax
call dword [fcn.01001074]
lea eax, [eax + eax + 2]
push eax
push 8
call dword [0x1001084]
push eax
call dword [0x1001080]
test eax, eax
mov dword [esi + 0x14], eax
je 0x1005c96
lea ecx, [ebp - 0xa4]
push ecx
push eax
call dword [0x100106c]
jmp 0x1005c96
push esi
call fcn.01005b00
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01006e99
leave
ret 4

Function at 0x1005ca9
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1009088]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
push dword [edi]
call fcn.01007242
mov ebx, dword [0x1001084]
mov esi, eax
test esi, esi
je 0x1005dc6
lea eax, [esi + 1]
push eax
push 8
call ebx
push eax
call dword [0x1001080]
test eax, eax
mov dword [ebp - 0x418], eax
je 0x1005dc6
push eax
push esi
push dword [ebp - 0x420]
push dword [edi]
call fcn.01007236
test eax, eax
je 0x1005db5
and dword [ebp - 0x41c], 0
and dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x10013d8
push dword [ebp - 0x418]
call fcn.0100722a
test eax, eax
je 0x1005db5
mov esi, dword [ebp - 0x41c]
push 0x2b
lea eax, [ebp - 0x414]
push eax
call fcn.01005095
movzx eax, word [esi + 0xc]
push eax
movzx eax, word [esi + 0xe]
push eax
movzx eax, word [esi + 8]
push eax
movzx eax, word [esi + 0xa]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x10011a0]
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.01001074]
lea eax, [eax + eax + 2]
push eax
push 8
call ebx
push eax
call dword [0x1001080]
test eax, eax
mov dword [edi + 8], eax
je 0x1005db5
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [0x100106c]
push dword [ebp - 0x418]
push 0
call ebx
push eax
call dword [0x100107c]
cmp dword [edi + 8], 0
jne 0x1005e0c
push 0x1f
lea eax, [ebp - 0x20c]
push eax
call fcn.01005095
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.01001074]
lea eax, [eax + eax + 2]
push eax
push 8
call ebx
push eax
call dword [0x1001080]
test eax, eax
mov dword [edi + 8], eax
je 0x1005e0c
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [0x100106c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01006e99
leave
ret 4
Function at 0x4032f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403388
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403368
xor eax, eax
push ebp
push 0x403361
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 0x4033a4
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 0x403368
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40406c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45f048], 0
je 0x4040cd
cmp word [0x45f21c], 0xd7b2
jne 0x404095
cmp dword [0x45f224], 0
jbe 0x404095
mov eax, 0x45f218
call dword [0x45f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45d06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45d030], 0
jne 0x4040e9
push 0
push 0x45d064
push 0x45d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404228
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45f049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041f0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405efe
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004044e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402eb4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ee8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f05
lea eax, [ebp - 0x10]
call fcn.00404274
ret

Function at 0x40b118
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b151
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404364
jmp 0x40b15a
mov eax, ebx
mov edx, esi
call fcn.004042c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b164
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b185
mov al, byte [esp]
jmp 0x40b187
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b81c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b684
mov eax, dword [0x45e0f0]
cmp byte [eax], 0
je 0x40b898
mov eax, dword [0x45def4]
call fcn.00402d20
call fcn.00402bc4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408908
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b8e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b8ce
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45dea4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45f664]
call fcn.00405304
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c160
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c236
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040430c
lea eax, [ebp - 8]
call fcn.00404784
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404734
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c220
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c219
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404734
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c203
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c248
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c203
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c220
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c23d
lea eax, [ebp - 8]
call fcn.00404274
ret

Function at 0x40c710
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c774
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408484
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c77b
lea eax, [ebp - 0xc]
call fcn.00404274
ret

Function at 0x41a824
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a67c
dec esi
jne 0x41a846
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret