Function at 0x4c62f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512440
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 8]
and ecx, 1
jne 0x4c633b
xor eax, eax
jmp 0x4c661e
mov edx, dword [ebp - 0x150]
movsx eax, word [edx + 0x2c]
cmp eax, 2
jne 0x4c660f
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
push 0x53c27f
mov ecx, dword [ebp - 0x150]
add ecx, 0x20
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 8]
and edx, 0x2000000
je 0x4c63e6
push 0x53c280
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x38]
push ecx
push str.__1._dlf
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
mov eax, dword [ebp - 0x150]
sub esp, 8
fld qword [eax + 0x18]
fstp qword [esp]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x4c6412
mov edx, dword [ebp - 0x150]
sub esp, 8
fld qword [edx + 0x18]
fstp qword [esp]
push str._.20f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
push 0x30
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_13135]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 8]
and edx, 0x2000000
jne 0x4c6439
push 0x30
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_13129]
push 0x30
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_13135]
push 0x2e
push 1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_11781]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004c7af0
add esp, 8
mov byte [ebp - 0x145], al
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
movzx edx, byte [ebp - 0x145]
test edx, edx
je 0x4c648a
push 0x2e
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_13135]
push 0x53c28d
lea eax, [ebp - 0x10]
push eax
call fcn.004625f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4c64be
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 8]
and eax, 1
je 0x4c64be
push str.0.10
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 8]
and edx, 0x4000000
jne 0x4c65ec
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 8]
and ecx, 0x2000000
je 0x4c64f2
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x34], eax
jmp 0x4c652a
push 0x2e
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x4c6515
mov dword [ebp - 0x34], 0
jmp 0x4c652a
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
sub eax, dword [ebp - 0x144]
sub eax, 1
mov dword [ebp - 0x34], eax
push 4
lea ecx, [ebp - 0x30]
push ecx
push 0x20000012
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x2c], 3
push 4
lea edx, [ebp - 0x140]
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x28], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x24], edx
push 4
lea eax, [ebp - 0x20]
push eax
push 0x20001010
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x100
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4c65dc
lea eax, [ebp - 0x140]
push eax
push 0x53c29c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_11627]
jmp 0x4c65ec
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x150]
add ecx, 0x20
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0x150]
add ecx, 0x20
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret