joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a270
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.0049af60
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x47a29c
cmp ecx, 0x61
jne 0x47a2fe
cmp word [edx + 2], bx
jne 0x47a2fe
cmp word [edi], bx
jne 0x47a2fe
cmp word [eax], bx
jne 0x47a2fe
cmp word [esi], bx
jne 0x47a2fe
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x47a2df
cmp byte [ebp + 0xea], bl
jne 0x47a2df
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47a2dd
push esi
call fcn.0047aed0
add esp, 4
test al, al
je 0x47a2df
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x47a2f2
cmp esi, ebx
je 0x47a2f2
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x47a323
cmp word [edi], bx
jne 0x47a323
cmp word [eax], bx
jne 0x47a323
cmp word [esi], bx
jne 0x47a323
mov eax, ebp
call fcn.0047a480
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4a3920
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.0047b030
test eax, eax
je 0x47a432
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x47a43e
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x47a40a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47a432
cmp byte [ebp + 0xea], bl
jne 0x47a403
mov esi, dword [esp + 0x102c]
call fcn.0047af40
cmp al, bl
jne 0x47a403
mov eax, dword [esp + 0x102c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x47a432
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x47a423
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.0047b490
push ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.0047b550
test eax, eax
jne 0x47a44e
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea edx, [esp + 0x10]
push edx
push 0x47a500
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x47a468
cmp eax, ebx
je 0x47a468
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x47b490
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x47b54e
mov eax, dword [esi]
test eax, eax
je 0x47b54e
push edi
test al, 1
jne 0x47b4ba
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x47b4d6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x47b4d6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x47b4f1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x47b52f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x47b52f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.00451900
add esp, 4
test eax, eax
jne 0x47b52f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x47b54e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x47bd90
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.0049af60
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47be3d
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x47c510
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a3920
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47be3d
mov ecx, dword [0x4c6a44]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47be3d
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x47be50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47be6c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4c6a44]
push eax
push esi
mov ecx, edi
call fcn.0047c310
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x47bea3
test eax, eax
jne 0x47bea7
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.0047bf60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x47bf26
test esi, esi
je 0x47bf26
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.004013d0
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x47bf05
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x47bf05
push 1
push 0x8000012f
call fcn.004013d0
add esp, 8
push esi
call edi
test eax, eax
jne 0x47bee0
mov edx, dword [0x4c6a44]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47bf1e
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x47bf40
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.0047bf60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.0047c0e0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x47c0e0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.0049af60
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x47c260
xor cl, cl
mov eax, edi
call fcn.0047c280
test eax, eax
jne 0x47c115
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c6a44]
push eax
push ebp
mov ecx, edi
call fcn.0047c310
test eax, eax
je 0x47c138
xor eax, eax
mov dword [0x4cb4e4], eax
jmp 0x47c13d
mov eax, dword [0x4cb4e4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a3920
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x47c183
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47c18b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4cb4e0]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x47c3e0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x47c238
lea ecx, [esp + 0x10]
push ecx
push 0x47ada0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x47c1f5
mov edx, dword [esp + 0x1848]
call fcn.0047ba20
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00479d20
mov edx, dword [esp + 0x1848]
call fcn.0047ba20
mov edx, dword [0x4c6a44]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47c260
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4cb4e4]
cmp eax, ebx
je 0x47c260
cmp eax, 1
setg al
mov dword [0x4cb4e4], ebx
cmp al, bl
je 0x47c260
mov edx, ebp
call fcn.0047ba20
push ebx
mov ecx, edi
call fcn.0047c0e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x496336
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c5dd0]
jne 0x496340
repz ret
jmp fcn.0049a98f

Function at 0x498d20
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c5dd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00493202
and dword [ebp - 0x14], 0
cmp dword [0x4c8cdc], 0
mov dword [ebp - 0x18], eax
jne 0x498dd3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x498e7b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a3030
push ebx
call edi
test eax, eax
je 0x498e7b
mov esi, dword [fcn.0048f480]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c8cdc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c8ce0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c8ce4], eax
call edi
push eax
call esi
mov dword [0x4c8cec], eax
test eax, eax
je 0x498dd3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c8ce8], eax
mov eax, dword [0x4c8ce8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048f484]
cmp eax, ecx
je 0x498e2c
cmp dword [0x4c8cec], ecx
je 0x498e2c
push eax
call esi
push dword [0x4c8cec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x498e2c
test ebx, ebx
je 0x498e2c
call edi
test eax, eax
je 0x498e23
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x498e23
test byte [ebp - 8], 1
jne 0x498e2c
or dword [ebp + 0x10], 0x200000
jmp 0x498e5f
mov eax, dword [0x4c8ce0]
cmp eax, dword [ebp - 0x18]
je 0x498e5f
push eax
call esi
test eax, eax
je 0x498e5f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x498e5f
mov eax, dword [0x4c8ce4]
cmp eax, dword [ebp - 0x18]
je 0x498e5f
push eax
call esi
test eax, eax
je 0x498e5f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c8cdc]
call esi
test eax, eax
je 0x498e7b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x498e7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496336
leave
ret
Function at 0x407410
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1a1afe0]
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.00472c30
jmp fcn.00407410
Function at 0x40dfb0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40e0c1
sub esp, 0x20
mov eax, dword [0x1a1afe0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x40e0aa
mov eax, dword [0x19be57c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
shr edx, 2
lea edx, [edx + edx*2]
cmp ecx, edx
jb 0x40e080
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.00410660
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, [0x477c30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp], edx
call fcn.0040ec30
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], ecx
jne 0x40e094
lea ecx, [0x19be57c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408f20
mov eax, dword [0x19be57c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040e0d0
add esp, 0x20
ret
lea eax, [0xdff452]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00440950
lea eax, [0xdd3902]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00440950
nop
call fcn.00472c30
jmp fcn.0040dfb0
Function at 0x4112b0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41147b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x4112d9
mov eax, 0x7000000
jmp 0x4112e1
test eax, eax
je 0x411456
mov dword [esp + 0x34], eax
mov ecx, dword [0x1a1afe0]
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.00473fe0
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, [0x18e8ce0]
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 0x41146e
cmp edx, 0x21
jae 0x411462
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.0046ac70
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.0046ad40
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 [0x1361738]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x1361788]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x411431
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x13617c0]
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.004740c0
mov eax, edx
mov ecx, 0x21
call fcn.004741a0
nop
call fcn.00472c30
jmp fcn.004112b0
Function at 0x41c850
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ca4e
sub esp, 0x18
mov eax, dword [0x1a1ae00]
test eax, eax
jne 0x41ca37
nop
nop
lea eax, [0x1a1adf0]
mov dword [esp], eax
call fcn.0040ee90
mov eax, dword [0x1a1adf4]
test eax, eax
je 0x41c898
cmp dword [eax + 8], 0xcc
jne 0x41c90e
mov edx, dword [0x1a1adf8]
test edx, edx
jne 0x41c8f0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x1a21830]
mov dword [esp + 8], eax
call fcn.00411490
mov eax, dword [esp + 0xc]
mov dword [0x1a1adf8], eax
mov ecx, dword [0x1a1adfc]
mov dword [eax], ecx
mov eax, dword [0x1a1adf8]
mov dword [0x1a1adfc], eax
movzx eax, byte [0x1a1bb00]
test al, al
jne 0x41c8f0
xor eax, eax
jmp 0x41ca08
mov edx, dword [0x1a1adf8]
mov ebx, dword [edx + 4]
mov dword [0x1a1adf8], ebx
mov ebx, dword [0x1a1adf4]
mov dword [edx + 4], ebx
mov dword [0x1a1adf4], edx
mov edx, dword [0x1a1adf4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41c9e7
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 [0x1a1b1d8]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41c960
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x41c9a0
call fcn.004740a0
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, [0x1a1adf0]
mov dword [esp], eax
call fcn.0040f0b0
nop
lea eax, [0x1a1adec]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00406ba0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004740c0
lea edx, [0x18e0d04]
movzx ebx, byte [edx + eax]
lea ebp, [0x1a1bb00]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41c8f0
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 0x41c9f1
mov ecx, 5
call fcn.004740b0
lea eax, [0xde060b]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00440950
nop
call fcn.00472c30
jmp fcn.0041c850
Function at 0x42b270
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42b350
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 0x42b2cd
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x42b2af
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 0x42b2c9
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.00442780
lea eax, [0xdd396b]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00442ff0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00442ce0
lea eax, [0xdcaa7a]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00442ff0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00442ce0
call fcn.00442990
call fcn.004427e0
lea eax, [0xdf2296]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00440950
nop
call fcn.00472c30
jmp fcn.0042b270

Function at 0x42b360
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42b433
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
cmp ebx, edx
ja 0x42b3b0
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x42b399
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.00442780
lea eax, [0xdd396b]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00442ff0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00442ce0
lea eax, [0xdcaa7a]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00442ff0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00442ce0
call fcn.00442990
call fcn.004427e0
lea eax, [0xde4e29]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00440950
nop
call fcn.00472c30
jmp fcn.0042b360
Function at 0x431140
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4312b0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x431240
cmp cl, 1
je 0x4311d2
cmp cl, 2
jne 0x431299
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00436730
nop
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040ee90
mov eax, dword [0x19e71a4]
sub eax, dword [0x19e7188]
nop
mov dword [0x19e71a4], eax
mov eax, dword [0x19e7194]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x19e7194], ecx
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040f0b0
jmp 0x431295
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.0041c850
nop
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040ee90
mov eax, dword [0x19e717c]
sub eax, dword [0x19e7160]
nop
mov dword [0x19e717c], eax
mov eax, dword [0x19e716c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x19e716c], ecx
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040f0b0
jmp 0x431295
cmp cl, 3
jne 0x43124b
mov byte [eax + 8], 1
jmp 0x431295
cmp cl, 4
jne 0x431299
nop
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040ee90
mov eax, dword [0x19e71f4]
sub eax, dword [0x19e71d8]
nop
mov dword [0x19e71f4], eax
mov eax, dword [0x19e71e4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x19e71e4], ecx
nop
nop
lea eax, [0x19e7200]
mov dword [esp], eax
call fcn.0040f0b0
add esp, 0x14
ret
lea eax, [0xdd4ed3]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440950
nop
call fcn.00472c30
jmp fcn.00431140