joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4600f9
Capabilities:
Get graphical window text

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

Function at 0x4617e7
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 0x461829
call fcn.00468d0e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461829
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461820
xor eax, eax
jmp 0x461831
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461837
pop edi
pop esi
pop ebx
ret 4
Function at 0x47c3e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ab760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047143b
mov dword [ebp - 0x14], eax
cmp dword [0x4bbc30], esi
jne 0x47c4d5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47c462
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47c5b5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47c5b5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c5b5
push eax
call ebx
push 0x492424
push edi
mov dword [0x4bbc30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x492434
push edi
mov dword [0x4bbc34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4bbc38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bbc40], eax
test eax, eax
je 0x47c4d2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bbc3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47c4fa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47c4ed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47c50f
push 4
pop eax
jmp 0x47c5b7
cmp dword [ebp - 0x14], esi
je 0x47c50f
push dword [0x4bbc30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47c4f4
mov eax, dword [0x4bbc3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47c56d
cmp dword [0x4bbc40], edi
je 0x47c56d
push eax
call ebx
push dword [0x4bbc40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47c56d
test eax, eax
je 0x47c56d
call ecx
test eax, eax
je 0x47c562
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47c562
test byte [ebp - 8], 1
jne 0x47c56d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47c59d
mov eax, dword [0x4bbc34]
cmp eax, edi
je 0x47c59a
push eax
call ebx
test eax, eax
je 0x47c59a
call eax
mov esi, eax
test esi, esi
je 0x47c59a
mov eax, dword [0x4bbc38]
cmp eax, edi
je 0x47c59a
push eax
call ebx
test eax, eax
je 0x47c59a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4bbc30]
call ebx
test eax, eax
je 0x47c5b5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47c5b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047266c
mov esp, ebp
pop ebp
ret
Function at 0x407410
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4075e0
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00479ef0
jmp fcn.00407410
Function at 0x40e530
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40e641
sub esp, 0x20
mov eax, dword [0x2305bc0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x40e62a
mov eax, dword [0x2291d90]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
shr edx, 2
lea edx, [edx + edx*2]
cmp ecx, edx
jb 0x40e600
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.00410be0
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, [0x47efb0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp], edx
call fcn.0040f1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], ecx
jne 0x40e614
lea ecx, [0x2291d90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408f20
mov eax, dword [0x2291d90]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040e650
add esp, 0x20
ret
lea eax, [0xe63450]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00441d00
lea eax, [0xe36115]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00441d00
nop
call fcn.00479ef0
jmp fcn.0040e530
Function at 0x411830
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4119fb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x411859
mov eax, 0x7000000
jmp 0x411861
test eax, eax
je 0x4119d6
mov dword [esp + 0x34], eax
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
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 + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0047b2a0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
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 + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x199aba0]
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 0x4119ee
cmp edx, 0x21
jae 0x4119e2
movsd qword [esp + 0x14], 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 + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.004717f0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004718c0
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x13c5200]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x13c5258]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x4119b1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x13c5288]
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.0047b380
mov eax, edx
mov ecx, 0x21
call fcn.0047b460
nop
call fcn.00479ef0
jmp fcn.00411830
Function at 0x41cad0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ccce
sub esp, 0x18
mov eax, dword [0x2305984]
test eax, eax
jne 0x41ccb7
nop
nop
lea eax, [0x2305974]
mov dword [esp], eax
call fcn.0040f410
mov eax, dword [0x2305978]
test eax, eax
je 0x41cb18
cmp dword [eax + 8], 0xcc
jne 0x41cb8e
mov edx, dword [0x230597c]
test edx, edx
jne 0x41cb70
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x230bdb0]
mov dword [esp + 8], eax
call fcn.00411a10
mov eax, dword [esp + 0xc]
mov dword [0x230597c], eax
mov ecx, dword [0x2305980]
mov dword [eax], ecx
mov eax, dword [0x230597c]
mov dword [0x2305980], eax
movzx eax, byte [0x23067e0]
test al, al
jne 0x41cb70
xor eax, eax
jmp 0x41cc88
mov edx, dword [0x230597c]
mov ebx, dword [edx + 4]
mov dword [0x230597c], ebx
mov ebx, dword [0x2305978]
mov dword [edx + 4], ebx
mov dword [0x2305978], edx
mov edx, dword [0x2305978]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41cc67
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.00406a20
mov eax, dword [0x2305d70]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41cbe0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x41cc20
call fcn.0047b360
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 ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x2305974]
mov dword [esp], eax
call fcn.0040f630
nop
lea eax, [0x2305970]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00406ba0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0047b380
lea edx, [0x1991b20]
movzx ebx, byte [edx + eax]
lea ebp, [0x23067e0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41cb70
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 0x41cc71
mov ecx, 5
call fcn.0047b370
lea eax, [0xe43acb]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00441d00
nop
call fcn.00479ef0
jmp fcn.0041cad0
Function at 0x42b4a0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42b580
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 0x42b4fd
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x42b4df
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 0x42b4f9
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.00443bf0
lea eax, [0xe3617e]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00444460
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
lea eax, [0xe2c807]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00444460
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
call fcn.00443e00
call fcn.00443c50
lea eax, [0xe562da]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00441d00
nop
call fcn.00479ef0
jmp fcn.0042b4a0

Function at 0x42b590
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42b663
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
cmp ebx, edx
ja 0x42b5e0
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x42b5c9
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.00443bf0
lea eax, [0xe3617e]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00444460
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
lea eax, [0xe2c807]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00444460
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
call fcn.00443e00
call fcn.00443c50
lea eax, [0xe4874c]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00441d00
nop
call fcn.00479ef0
jmp fcn.0042b590
Function at 0x431340
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4314b0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x431440
cmp cl, 1
je 0x4313d2
cmp cl, 2
jne 0x431499
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00436930
nop
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f410
mov eax, dword [0x22d1d24]
sub eax, dword [0x22d1d08]
nop
mov dword [0x22d1d24], eax
mov eax, dword [0x22d1d14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x22d1d14], ecx
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f630
jmp 0x431495
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.0041cad0
nop
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f410
mov eax, dword [0x22d1cfc]
sub eax, dword [0x22d1ce0]
nop
mov dword [0x22d1cfc], eax
mov eax, dword [0x22d1cec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x22d1cec], ecx
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f630
jmp 0x431495
cmp cl, 3
jne 0x43144b
mov byte [eax + 8], 1
jmp 0x431495
cmp cl, 4
jne 0x431499
nop
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f410
mov eax, dword [0x22d1d74]
sub eax, dword [0x22d1d58]
nop
mov dword [0x22d1d74], eax
mov eax, dword [0x22d1d64]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x22d1d64], ecx
nop
nop
lea eax, [0x22d1d80]
mov dword [esp], eax
call fcn.0040f630
add esp, 0x14
ret
lea eax, [0xe37786]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00441d00
nop
call fcn.00479ef0
jmp fcn.00431340
Function at 0x4331d0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x43342a
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 0x43331b
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 0x433295
mov ecx, dword [edx + 0x28]
cmp ecx, ebx
jbe 0x433422
mov ecx, dword [edx + 0x24]
lea ecx, [ecx + ebx*8]
mov ebp, dword [ecx + 4]
test ebp, 0x80000000
je 0x43323b
mov ecx, 0x40000
jmp 0x43324b
mov ecx, dword [ecx]
shl ebp, 0xe
shr ecx, 0x12
or ecx, ebp
and ecx, 0x3ffff
cmp esi, ecx
ja 0x433295
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x30]
test byte [ecx], al
shl ebx, 7
add ecx, ebx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.004356a0
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x43332f
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 0x4332d7
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.004324b0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4332d3
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x4332bf
mov eax, dword [0x19919f0]
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.004320f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x34], ecx
jae 0x43330b
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.00443bf0
lea eax, [0xe3618d]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00444460
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
lea eax, [0xe306b5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00444460
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
call fcn.00443e00
call fcn.00443c50
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.00443bf0
lea eax, [0xe3eed4]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00444460
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444150
lea eax, [0xe38cd2]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00444460
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004442f0
call fcn.00443e00
call fcn.00443c50
lea eax, [0xe37796]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00441d00
mov eax, ebx
call fcn.0047b380
nop
call fcn.004784c0
jmp fcn.004331d0
Function at 0x4371a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x437286
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x2306790]
mov dword [esp], ecx
call fcn.00406990
mov eax, dword [esp + 4]
test eax, eax
je 0x437262
mov dword [esp + 8], 0
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.0047b5b9
lea ecx, [0x437290]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.00479e00
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x43725e
jae 0x43727b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.0044ef20]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.0047b370
nop
call fcn.00479ef0
jmp fcn.004371a0