joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47fef0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x47ff48
mov eax, dword [ebp - 0x114]
cmp eax, 7
jae 0x47ffcd
cmp eax, 6
jne 0x47ff7a
mov eax, dword [ebp + 8]
cmp eax, 0xf
jne 0x47ff58
cmp dword [ebp - 0x110], 3
jae 0x47ffcd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
cmp eax, 0xe
je 0x47ff87
cmp eax, 0xd
je 0x47ff67
cmp eax, 0xc
jne 0x47ff70
cmp dword [ebp - 0x110], 1
jae 0x47ffcd
cmp eax, 0xa
je 0x47ffcd
cmp eax, 0xb
jmp 0x47ffc7
cmp eax, 5
jne 0x47ff48
mov eax, dword [ebp + 8]
cmp eax, 8
jne 0x47ffa3
cmp dword [ebp - 0x110], 2
jb 0x47ff48
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x47ffc4
cmp dword [ebp - 0x110], 1
jb 0x47ff48
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x47ff48
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret

Function at 0x497198
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4cf6f8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cf39f

Function at 0x4cf703
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cf529

Function at 0x4d4944
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d4491
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret
Function at 0x40cc00
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cd11
sub esp, 0x20
mov eax, dword [0xf335f8]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x40ccfa
mov eax, dword [0xefbc50]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
shr edx, 2
lea edx, [edx + edx*2]
cmp ecx, edx
jb 0x40ccd0
mov dword [esp + 0x10], eax
shl ebx, 1
lea eax, [ebx + 2]
shl eax, 2
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [esp + 8], 1
call fcn.0040f310
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [eax], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
lea edx, [0x4711e0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp], edx
call fcn.0040d970
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], ecx
jne 0x40cce4
lea ecx, [0xefbc50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408150
mov eax, dword [0xefbc50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040cd20
add esp, 0x20
ret
lea eax, [0xa3f6a9]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0043d060
lea eax, [0xa22961]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.0040cc00
Function at 0x40fee0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4100ab
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ff09
mov eax, 0x7000000
jmp 0x40ff11
test eax, eax
je 0x410086
mov dword [esp + 0x14], eax
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.0046d6a0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xeb9a60]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x41009e
cmp edx, 0x21
jae 0x410092
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.00464310
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.004643e0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xb269c8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xb26a18]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x410061
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xb26a60]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046d770
mov eax, edx
mov ecx, 0x21
call fcn.0046d850
nop
call fcn.0046c2f0
jmp fcn.0040fee0
Function at 0x41ad20
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41af2e
sub esp, 0x18
mov eax, dword [0xf33470]
test eax, eax
jne 0x41af17
nop
nop
lea eax, [0xf33460]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xf33464]
test eax, eax
je 0x41ad68
cmp dword [eax + 8], 0xcc
jne 0x41adde
mov edx, dword [0xf33468]
test edx, edx
jne 0x41adc0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xf3b330]
mov dword [esp + 8], eax
call fcn.004100c0
mov eax, dword [esp + 0xc]
mov dword [0xf33468], eax
mov ecx, dword [0xf3346c]
mov dword [eax], ecx
mov eax, dword [0xf33468]
mov dword [0xf3346c], eax
movzx eax, byte [0xf33ec0]
test al, al
jne 0x41adc0
xor eax, eax
jmp 0x41aee8
mov edx, dword [0xf33468]
mov ebx, dword [edx + 4]
mov dword [0xf33468], ebx
mov ebx, dword [0xf33464]
mov dword [edx + 4], ebx
mov dword [0xf33464], edx
mov edx, dword [0xf33464]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41aec7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00406690
mov eax, dword [0xf339d0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41ae28
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x41ae3e
call fcn.0046d700
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0xf339d0]
test eax, eax
jne 0x41ae62
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41ae90
call fcn.0046d740
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0xf33460]
mov dword [esp], eax
call fcn.0040ddd0
nop
lea eax, [0xf3345c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00406810
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046d770
lea edx, [0xeb2f74]
movzx ebx, byte [edx + eax]
lea ebp, [0xf33ec0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41adc0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x41aed1
mov ecx, 5
call fcn.0046d760
lea eax, [0xa2ad2e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.0041ad20
Function at 0x428c60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428d57
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428d51
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.004290b0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00429190
movzx eax, byte [esp + 0x18]
test al, 2
je 0x428d05
cmp word [esp + 0x10], 0x1f0
jbe 0x428d05
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 0x30]
test bl, bl
jne 0x428d09
nop
jmp 0x428d09
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428d4c
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00429120
add esp, 0x1c
ret
call fcn.0046d770
call fcn.0046d770
nop
call fcn.0046c2f0
jmp fcn.00428c60
Function at 0x428d70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428ea4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x428e9e
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.004290b0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00429280
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x428e97
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00429120
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x428e5a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.00435810
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x428e93
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004065d0
add esp, 0x20
ret
mov eax, edx
call fcn.0046d770
call fcn.0046d770
nop
call fcn.0046c2f0
jmp fcn.00428d70

Function at 0x429190
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429270
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
add edx, ebx
cmp edx, 0x200
ja 0x4291ed
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x4291cf
mov word [eax + 2], cx
mov dword [eax + 4], edx
movzx ecx, word [eax]
add ecx, ebx
mov word [eax], cx
cmp cx, 0x200
jne 0x4291e9
movzx ecx, byte [eax + 8]
and ecx, 0xfffffffe
nop
mov byte [eax + 8], cl
add esp, 0xc
ret
mov word [esp + 0xa], cx
call fcn.0043ed90
lea eax, [0xa229ca]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043f610
mov dword [esp + 4], 0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa1d271]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0043f2f0
call fcn.0043efa0
call fcn.0043edf0
lea eax, [0xa35bac]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.00429190
Function at 0x429280
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429353
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
cmp ebx, edx
ja 0x4292d0
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x4292b9
mov word [eax + 2], cx
mov dword [eax + 4], edx
movzx ecx, word [eax]
sub ecx, ebx
mov word [eax], cx
movzx ecx, byte [eax + 8]
or ecx, 1
nop
mov byte [eax + 8], cl
add esp, 0xc
ret
mov word [esp + 0xa], cx
call fcn.0043ed90
lea eax, [0xa229ca]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043f610
mov dword [esp + 4], 0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa1d271]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0043f2f0
call fcn.0043efa0
call fcn.0043edf0
lea eax, [0xa2d95f]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.00429280
Function at 0x429b70
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429d7f
sub esp, 0x38
mov eax, dword [esp + 0x40]
cmp dword [0xf134b0], eax
jne 0x429d68
mov eax, dword [esp + 0x3c]
test byte [eax], al
mov dword [esp], eax
call fcn.00406520
mov eax, dword [esp + 4]
mov ecx, eax
and eax, 0x7fffffff
dec eax
cmp eax, 0x80000000
jae 0x429d52
mov dword [esp + 0x2c], ecx
lea eax, [ecx - 1]
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.00406540
movzx eax, byte [esp + 0xc]
test al, al
je 0x429b97
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x429d4e
mov eax, dword [0xf33e74]
test eax, eax
jle 0x429d4a
nop
lea eax, [0xf34de8]
mov dword [esp], eax
call fcn.00406790
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
shr eax, 0x14
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], edx
mov ebx, edx
shl edx, 0xc
or eax, edx
mov dword [esp + 0x2c], eax
shr ebx, 0x14
mov dword [esp + 0x28], ebx
lea ebp, [0xf134c8]
mov dword [esp], ebp
call fcn.00406790
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [0xf134d8]
mov dword [esp + 0x24], edx
mov ebx, dword [0xf134dc]
mov dword [esp + 0x20], ebx
movsd xmm0, qword [0xf134e0]
movsd qword [esp + 0x30], xmm0
call fcn.0043ed90
lea eax, [0xa31509]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.0043f610
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa21e79]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043f610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sbb ecx, edx
mov edx, ecx
shl ecx, 0xc
shr eax, 0x14
or ecx, eax
shr edx, 0x14
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.0043f2f0
lea eax, [0xa29dda]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.0043f610
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa1e4c8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043f610
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
call fcn.0043f040
lea eax, [0xa201b9]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043f610
call fcn.0043edf0
add esp, 0x38
ret
add esp, 0x38
ret
lea eax, [0xa379a0]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0043d060
lea eax, [0xa532be]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.00429b70
Function at 0x42ef10
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f080
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42f010
cmp cl, 1
je 0x42efa2
cmp cl, 2
jne 0x42f069
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00434550
nop
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xf179e4]
sub eax, dword [0xf179c8]
nop
mov dword [0xf179e4], eax
mov eax, dword [0xf179d4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf179d4], ecx
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040ddd0
jmp 0x42f065
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0041ad20
nop
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xf179bc]
sub eax, dword [0xf179a0]
nop
mov dword [0xf179bc], eax
mov eax, dword [0xf179ac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf179ac], ecx
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040ddd0
jmp 0x42f065
cmp cl, 3
jne 0x42f01b
mov byte [eax + 8], 1
jmp 0x42f065
cmp cl, 4
jne 0x42f069
nop
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xf17a34]
sub eax, dword [0xf17a18]
nop
mov dword [0xf17a34], eax
mov eax, dword [0xf17a24]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf17a24], ecx
nop
nop
lea eax, [0xf17a40]
mov dword [esp], eax
call fcn.0040ddd0
add esp, 0x14
ret
lea eax, [0xa2359e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043d060
nop
call fcn.0046c2f0
jmp fcn.0042ef10
Function at 0x430da0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x431001
sub esp, 0x24
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x34]
mov ebx, eax
shr ebx, 0x16
cmp dword [edx + 0x3c], ebx
jbe 0x430ef2
and eax, 0x3fffff
shr eax, 0xd
lea ebp, [eax - 0x200]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, dword [esp + 0x2c]
cmp esi, ebp
ja 0x430e6c
mov ecx, dword [edx + 0x28]
cmp ecx, ebx
jbe 0x430ff9
mov ecx, dword [edx + 0x24]
lea ecx, [ecx + ebx*8]
mov ebp, dword [ecx + 4]
test ebp, 0x80000000
je 0x430e0f
mov ecx, 0x40000
jmp 0x430e1f
mov ecx, dword [ecx]
shl ebp, 0xe
shr ecx, 0x12
or ecx, ebp
and ecx, 0x3ffff
cmp esi, ecx
ja 0x430e6c
mov ebp, dword [edx + 0x30]
test byte [ebp], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ecx
shl ebx, 7
lea edx, [ebp + ebx]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00433320
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x430f06
mov ecx, dword [esp + 0x10]
shl eax, 0xd
shl ecx, 0xd
mov edx, dword [esp + 0x20]
shl edx, 0x16
add eax, edx
add ecx, edx
jmp 0x430eae
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.00430090
mov eax, dword [esp + 8]
test eax, eax
jne 0x430eaa
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x430e96
mov eax, dword [0xeb2ec0]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x34], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
add esp, 0x24
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.0042fcd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x34], ecx
jae 0x430ee2
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
add esp, 0x24
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
add esp, 0x24
ret
call fcn.0043ed90
lea eax, [0xa229d9]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa1f2d1]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043f2f0
call fcn.0043efa0
call fcn.0043edf0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x20], eax
and eax, 0x3fffff
shr eax, 0xd
mov dword [esp + 0x1c], eax
call fcn.0043ed90
lea eax, [0xa27daa]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0043f2f0
lea eax, [0xa2424b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043f610
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0043f4a0
call fcn.0043efa0
call fcn.0043edf0
lea eax, [0xa235ae]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043d060
mov eax, ebx
call fcn.0046d770
nop
call fcn.0046ab20
jmp fcn.00430da0