Function at 0x446240
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x50e6c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x5580a0]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xb0]
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0xa8], 1
call fcn.004dce86
push 0x555ac0
mov ecx, esi
mov byte [esp + 0xa8], 2
xor ebp, ebp
call fcn.004d3b06
cmp eax, 0xffffffff
je 0x4462c3
push esi
mov esi, dword [esp + 0xb0]
mov ecx, esi
call fcn.004dce86
mov dword [esp + 0x18], 1
jmp 0x4464a2
cmp dword [edi + 0x6d0], ebx
jne 0x446303
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c294a
add esp, 4
cmp eax, 0x400
jle 0x446303
cdq
and edx, 0x3ff
mov ebp, 1
add eax, edx
lea edx, [esp + 0x10]
sar eax, 0xa
push eax
push 0x554014
push edx
call fcn.004d3e8c
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push 0x12
push 0x400
mov dword [esp + 0x2c], ebx
call esi
push eax
lea eax, [esp + 0x38]
push eax
push 0x12
push 0x400
call esi
test eax, eax
je 0x446343
lea ecx, [esp + 0x34]
push ecx
call fcn.004c294a
add esp, 4
mov dword [esp + 0x20], eax
mov edi, 1
jmp 0x44634c
mov edi, 1
mov dword [esp + 0x20], edi
push ebx
push ebx
push 0x10
push 0x400
call esi
lea edx, [esp + 0x34]
push eax
push edx
push 0x10
push 0x400
call esi
test eax, eax
je 0x4463aa
push ebx
push ebx
push 0xc
push 0x400
call esi
push eax
lea eax, [esp + 0x6c]
push eax
push 0xc
push 0x400
call esi
test eax, eax
je 0x4463aa
lea ecx, [esp + 0x68]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004c4160
lea eax, [esp + 0x3c]
push eax
call fcn.004c28bf
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4463b2
mov dword [esp + 0x24], 3
push ebx
push ebx
push 0x1010
push 0x400
call esi
lea ecx, [esp + 0x34]
push eax
push ecx
push 0x1010
push 0x400
call esi
test eax, eax
je 0x4463e9
lea edx, [esp + 0x34]
push edx
call fcn.004c294a
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x4463ed
mov dword [esp + 0x30], edi
push ebx
push ebx
push 0xf
push 0x400
mov dword [esp + 0x38], 0x55497c
call esi
push eax
lea eax, [esp + 0x38]
push eax
push 0xf
push 0x400
call esi
test eax, eax
je 0x44641d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ecx
jmp 0x446425
mov dword [esp + 0x2c], 0x5526b4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
push eax
push ebx
push 0x400
call esi
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
push ebx
push 0x400
call esi
test eax, eax
jne 0x44646b
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004dd24a
jmp 0x446479
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd29a
cmp ebp, ebx
je 0x44648b
push 0x555abc
lea ecx, [esp + 0x18]
call fcn.004dd4ed
mov esi, dword [esp + 0xac]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004dce86
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 1
call fcn.004dd111
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], bl
call fcn.004dd111
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 8