Function at 0x446260
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x50e700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x5581a0]
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.004dcec6
push 0x555bc0
mov ecx, esi
mov byte [esp + 0xa8], 2
xor ebp, ebp
call fcn.004d3b46
cmp eax, 0xffffffff
je 0x4462e3
push esi
mov esi, dword [esp + 0xb0]
mov ecx, esi
call fcn.004dcec6
mov dword [esp + 0x18], 1
jmp 0x4464c2
cmp dword [edi + 0x6d0], ebx
jne 0x446323
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004c298a
add esp, 4
cmp eax, 0x400
jle 0x446323
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.004d3ecc
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 0x446363
lea ecx, [esp + 0x34]
push ecx
call fcn.004c298a
add esp, 4
mov dword [esp + 0x20], eax
mov edi, 1
jmp 0x44636c
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 0x4463ca
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 0x4463ca
lea ecx, [esp + 0x68]
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004c41a0
lea eax, [esp + 0x3c]
push eax
call fcn.004c28ff
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4463d2
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 0x446409
lea edx, [esp + 0x34]
push edx
call fcn.004c298a
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x44640d
mov dword [esp + 0x30], edi
push ebx
push ebx
push 0xf
push 0x400
mov dword [esp + 0x38], 0x554a0c
call esi
push eax
lea eax, [esp + 0x38]
push eax
push 0xf
push 0x400
call esi
test eax, eax
je 0x44643d
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ecx
jmp 0x446445
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 0x44648b
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004dd28a
jmp 0x446499
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd2da
cmp ebp, ebx
je 0x4464ab
push 0x555bbc
lea ecx, [esp + 0x18]
call fcn.004dd52d
mov esi, dword [esp + 0xac]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004dcec6
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 1
call fcn.004dd151
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], bl
call fcn.004dd151
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