joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ce10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d098
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00437650
test eax, eax
je 0x43cf18
lea ecx, [esp + 0xc]
call fcn.0040c0b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00437650
mov ecx, eax
call fcn.00434d30
test eax, eax
je 0x43ceff
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43ceff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43ceff
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0040c2b0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x43cee1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43ceff
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4cd258]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x49e180
call fcn.0040c2b0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x43cf70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00437650
test eax, eax
je 0x43d05f
mov ecx, edi
call fcn.00437650
mov ecx, eax
call fcn.00434bd0
test eax, eax
jne 0x43d05f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43d05f
mov eax, dword [0x4cd258]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x43cfd2
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.00437650
mov ecx, eax
call fcn.00434e10
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 0x43d05f
cmp ebx, eax
jne 0x43d05f
cmp dword [esp + 0x10], eax
jne 0x43d045
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 0x43fdf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d328
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 0x43fe29
inc eax
mov dword [esi + 0x10], eax
jmp 0x43ff3c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43fe3d
mov eax, 0xffffffc7
jmp 0x43ff3e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43fe4e
cmp dword [esi + 8], eax
jne 0x43fe3d
cmp dword [esi + 8], eax
jne 0x43fe67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43fe67
mov eax, 0xffffffc7
jmp 0x43ff3e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43fe7b
push eax
mov ecx, ebx
call fcn.0043f620
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.0040c0b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43feac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040c0d0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043ed90
test eax, eax
mov dword [esp + 0x38], eax
je 0x43fedf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x49e1b0
call fcn.0040c2b0
mov eax, dword [esp + 0x38]
jmp 0x43ff3e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043fc50
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43ff23
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043fc70
mov esi, eax
test esi, esi
jne 0x43ff53
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043fc50
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43fef5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x49e1b0
call fcn.0040c2b0
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], 0x49e1b0
call fcn.0040c2b0
mov eax, esi
jmp 0x43ff3e

Function at 0x444960
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4449c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4449c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4449c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4449c0
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 0x444a00
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 0x450760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48dc18
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.00486056
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004500c0
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.00485f84
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.00482848
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.00482848
push 1
push 0
push 0
mov ecx, esi
call fcn.004827f0
push 1
push 0
push 1
mov ecx, esi
call fcn.004827f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004860c8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4508e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48dc38
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.00486056
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004500c0
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.00485f84
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 0x4509a4
cmp dword [esp + 0x40], 1
jne 0x4509a2
cmp ecx, eax
jge 0x4509a4
mov eax, ecx
cmp eax, 0xc8
jge 0x4509b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00450760
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.004860c8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4511a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48dce3
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.00480c68
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.004862fe
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048785d
test eax, eax
je 0x4512bc
mov ecx, dword [esp + 0x3c]
call fcn.0048632b
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 0x451280
push edi
mov ecx, esi
call fcn.00483992
mov ecx, esi
call fcn.00451460
cmp dword [esp + 0x38], 1
jne 0x4512b5
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.00483acd
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 0x4534b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4534e3
push esi
call fcn.00461870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4534dc
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 0x453569
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x453552
mov eax, dword [esi + 8]
test eax, eax
je 0x453507
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 0x45354e
cmp eax, 2
je 0x453552
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4534fa
cmp eax, 3
je 0x45352d
cmp eax, 1
jne 0x4534fa
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 0x4534fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4534fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00453590
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x453578
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00453590
add esp, 4
pop esi
ret

Function at 0x453e10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x453e31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x453e31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x453e31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x481a5e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x481a96
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.0047fb12
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047faea
jmp 0x481aa2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48314c
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 0x48318e
call fcn.00488c43
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48318e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x483185
xor eax, eax
jmp 0x483196
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048319c
pop edi
pop esi
pop ebx
ret 4
Function at 0x489173
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 0x4891a1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4891bf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004890d9
jmp 0x4891bf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4891bf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004890d9
test edi, edi
mov eax, edi
jne 0x4891a9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403194
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404888
test esi, esi
jne 0x4031cb
push 0x105
lea eax, [esp + 8]
push eax
push 0
call fcn.0040129c
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404978
jmp 0x4031ec
call fcn.0040128c
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403030
mov dword [esp], eax
test esi, esi
je 0x4031ec
cmp dword [ebx], 0
je 0x4031ec
dec esi
jmp 0x4031d3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4038e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x496020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40397c
push 0x80000002
call fcn.004012f4
test eax, eax
jne 0x40395c
xor eax, eax
push ebp
push 0x403955
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 0x403998
mov eax, dword [ebp - 4]
push eax
call fcn.004012fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40395c
mov eax, dword [ebp - 4]
push eax
call fcn.004012ec
ret
mov ax, word [0x496020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x496020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49a04c], 0
je 0x40473d
cmp word [0x49a220], 0xd7b2
jne 0x404705
cmp dword [0x49a228], 0
jbe 0x404705
mov eax, 0x49a21c
call dword [0x49a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49606c
push 0xfffffffffffffff5
call fcn.0040122c
push eax
call fcn.0040124c
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404764
push 0xfffffffffffffff5
call fcn.0040122c
push eax
call fcn.0040124c
pop edx
ret
cmp byte [0x496030], 0
jne 0x404759
push 0
push 0x496064
push 0x49606c
push 0
call fcn.0040126c
pop edx
ret
Function at 0x404768
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, 0x49a638
mov esi, 0x49a048
cmp byte [ebx + 0x28], 0
jne 0x404793
cmp dword [esi], 0
je 0x404793
mov eax, dword [esi]
mov dword [esp], eax
xor eax, eax
mov dword [esi], eax
call dword [esp]
cmp dword [esi], 0
jne 0x404782
cmp dword [0x496004], 0
je 0x4047ad
call fcn.00404650
call fcn.004046dc
xor eax, eax
mov dword [0x496004], eax
cmp byte [ebx + 0x28], 2
jne 0x4047c1
cmp dword [section.DATA], 0
jne 0x4047c1
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004044a4
cmp byte [ebx + 0x28], 1
jbe 0x4047d5
cmp dword [section.DATA], 0
je 0x4047f8
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4047f8
mov eax, edi
call fcn.0040656c
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 4]
je 0x4047f8
test esi, esi
je 0x4047f8
push esi
call fcn.00401284
call fcn.0040447c
cmp byte [ebx + 0x28], 1
jne 0x404806
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x404811
call fcn.004046ac
cmp dword [ebx], 0
jne 0x404830
cmp dword [0x49a028], 0
je 0x404825
call dword [0x49a028]
mov eax, dword [section.DATA]
push eax
call fcn.00401264
mov eax, dword [ebx]
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp 0x4047ad
Function at 0x4061c4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x121]
push eax
push 0
call fcn.0040129c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406408
push 0x80000001
call fcn.004012f4
test eax, eax
je 0x406246
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406408
push 0x80000002
call fcn.004012f4
test eax, eax
je 0x406246
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406424
push 0x80000001
call fcn.004012f4
test eax, eax
jne 0x4062cf
xor eax, eax
push ebp
push 0x4062c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x121]
mov edx, 0x105
call fcn.00405fec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x121]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004012fc
test eax, eax
je 0x4062ad
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406444
mov eax, dword [ebp - 8]
push eax
call fcn.004012fc
test eax, eax
je 0x4062ad
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062cf
mov eax, dword [ebp - 8]
push eax
call fcn.004012ec
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x121]
push eax
call fcn.004012d4
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.004012bc
push eax
call fcn.00401294
xor ebx, ebx
cmp byte [ebp - 0x121], 0
je 0x4063ff
cmp byte [ebp - 0xd], 0
jne 0x406316
cmp byte [ebp - 0x12], 0
je 0x4063ff
lea eax, [ebp - 0x121]
push eax
call fcn.004012dc
lea edx, [ebp - 0x121]
add eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x406332
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0x2e
je 0x406345
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
jne 0x40632f
lea eax, [ebp - 0x121]
cmp eax, dword [ebp - 0x1c]
je 0x4063ff
inc dword [ebp - 0x1c]
cmp byte [ebp - 0x12], 0
je 0x406389
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004012c4
mov ebx, eax
test ebx, ebx
jne 0x4063ff
cmp byte [ebp - 0xd], 0
je 0x4063ff
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004012c4
mov ebx, eax
test ebx, ebx
jne 0x4063ff
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x121]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x121]
push eax
call fcn.004012c4
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406b0c
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 0x406b72
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call fcn.00401294
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404b08
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403450
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406b5c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b79
lea eax, [ebp - 0x10]
call fcn.00404888
ret

Function at 0x40f0d8
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 fcn.004070d0
test eax, eax
jle 0x40f111
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404978
jmp 0x40f11a
mov eax, ebx
mov edx, esi
call fcn.004048dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f124
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 fcn.004070d0
test eax, eax
jle 0x40f145
mov al, byte [esp]
jmp 0x40f147
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410144
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 0x41021a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404920
lea eax, [ebp - 8]
call fcn.00404da8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d58
push eax
call fcn.00407290
mov ebx, eax
test ebx, ebx
je 0x410204
mov eax, ebx
call fcn.00402d68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4101fd
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.00404d58
push eax
call fcn.00407288
test eax, eax
je 0x4101e7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41022c
mov eax, dword [ebp - 0x10]
push eax
call fcn.00407298
test eax, eax
je 0x4101e7
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 0x410204
mov eax, dword [ebp - 0x10]
call fcn.00402d98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410221
lea eax, [ebp - 8]
call fcn.00404888
ret