Function at 0x446570
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x50ea40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x5580c0]
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.004dd1c2
push 0x555ac0
mov ecx, esi
mov byte [esp + 0xa8], 2
xor ebp, ebp
call fcn.004d3e42
cmp eax, 0xffffffff
je 0x4465f3
push esi
mov esi, dword [esp + 0xb0]
mov ecx, esi
call fcn.004dd1c2
mov dword [esp + 0x18], 1
jmp 0x4467d2
cmp dword [edi + 0x6d0], ebx
jne 0x446633
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c2c7a
add esp, 4
cmp eax, 0x400
jle 0x446633
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.004d41c8
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 0x446673
lea ecx, [esp + 0x34]
push ecx
call fcn.004c2c7a
add esp, 4
mov dword [esp + 0x20], eax
mov edi, 1
jmp 0x44667c
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 0x4466da
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 0x4466da
lea ecx, [esp + 0x68]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004c4490
lea eax, [esp + 0x3c]
push eax
call fcn.004c2bef
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4466e2
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 0x446719
lea edx, [esp + 0x34]
push edx
call fcn.004c2c7a
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x44671d
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 0x44674d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ecx
jmp 0x446755
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 0x44679b
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004dd586
jmp 0x4467a9
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd5d6
cmp ebp, ebx
je 0x4467bb
push 0x555abc
lea ecx, [esp + 0x18]
call fcn.004dd829
mov esi, dword [esp + 0xac]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004dd1c2
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 1
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], bl
call fcn.004dd44d
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