Function at 0x5f1380
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x709320
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2e8]
xor ebx, ebx
mov ebp, dword [esp + 0x2ec]
mov dword [esp + 0x1c], ebx
mov eax, dword [0x87f28c]
test eax, eax
je 0x5f13f2
push dword [eax + 0x44]
call fcn.005f1a00
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x5f13f6
jmp 0x5f151d
mov dword [esp + 0x18], ebx
cmp dword [0x82e960], ebx
je 0x5f1469
push 0
push 0
mov edi, 0x781ecc
call dword [sym.imp.MSVCR120.dll_setlocale]
add esp, 8
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x5f1430
test cl, cl
je 0x5f142c
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x5f1430
add eax, 2
add edi, 2
test cl, cl
jne 0x5f1410
xor eax, eax
jmp 0x5f1435
sbb eax, eax
or eax, 1
test eax, eax
je 0x5f1469
push str.You_probably_called_setlocale___directly_instead_of_using_wxLocale_and_now_there_is_a_mismatch_between_C_C_and_Windows_locale._nThings_are_going_to_break__please_only_change_locale_by_creating_wxLocale_objects_to_avoid_this_
push str.strcmp_setlocale_LC_ALL__NULL____C____0
push str.wxLocale::GetInfo
push 0x5ac
push str....._srccommonintl.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], bl
je 0x5f1469
mov byte [0x87c8e0], bl
int3
cmp ebp, 5
ja case.default.0x5f146e
jmp dword [ebp*4 + 0x5f1890]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [esi + 0x18], eax
jmp 0x5f1865
push 0x77db9c
mov ecx, esi
call fcn.00418040
jmp 0x5f1865
push str._m__d__y
mov ecx, esi
call fcn.00418040
jmp 0x5f1865
push str._A___B__d___Y
mov ecx, esi
call fcn.00418040
jmp 0x5f1865
push 0x7825d8
mov ecx, esi
call fcn.00418040
jmp 0x5f1865
push str._m__d__y__H:_M:_S
mov ecx, esi
call fcn.00418040
jmp 0x5f1865
cmp dword [0x82e960], ebx
je 0x5f1519
push str.unknown_wxLocaleInfo
push str.Assert_failure
push str.wxLocale::GetInfo
push 0x5c9
push str....._srccommonintl.cpp
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], bl
je 0x5f1519
mov byte [0x87c8e0], bl
int3
mov ecx, dword [esp + 0x18]
mov ax, word [ecx + 0x28]
shl ax, 0xa
movzx edi, ax
movzx eax, word [ecx + 0x24]
or edi, eax
mov dword [esp + 0x48], 7
xor eax, eax
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2e0], eax
mov word [esp + 0xd4], ax
cmp ebp, 5
ja case.default.0x5f155d
jmp dword [ebp*4 + 0x5f18a8]
push 0x100
lea eax, [esp + 0xd8]
push eax
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f181c
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x38]
call fcn.00429330
jmp 0x5f181c
push 0x100
lea eax, [esp + 0xd8]
push eax
xor eax, eax
cmp dword [esp + 0x2f8], 2
sete al
lea eax, [eax*8 + 0xe]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f181c
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x38]
call fcn.00429330
cmp dword [0x82e960], 0
je 0x5f1691
push str._.3f
lea ecx, [esp + 0x24]
call fcn.004399b0
movsd xmm0, qword [0x7826f8]
lea eax, [esp + 0x20]
sub esp, 8
mov byte [esp + 0x2e8], 1
mov dword [esp + 0x24], 2
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00439400
add esp, 0x10
push dword [esp + 0x44]
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
push 0
cmovae ecx, dword [esp + 0x3c]
mov ebx, 6
push ecx
mov ecx, eax
mov dword [esp + 0x2ec], 2
mov dword [esp + 0x28], ebx
call fcn.0041d850
cmp eax, dword [0x77db98]
jne 0x5f1691
push str.Decimal_separator_mismatch____did_you_use_setlocale___If_so__use_wxLocale_to_change_the_locale_instead.
push str.wxString::Format___.3f___1.23_.find_str____wxString::npos
push str.wxLocale::GetInfo
push 0x5f1
push str....._srccommonintl.cpp
call fcn.005c6f20
add esp, 0x14
mov byte [esp + 0x17], 1
cmp byte [0x87c8e0], 0
jne 0x5f1696
mov byte [esp + 0x17], 0
test bl, 4
je 0x5f16aa
lea ecx, [esp + 0xb4]
and ebx, 0xfffffffb
call fcn.00418210
mov dword [esp + 0x2e0], 0
test bl, 2
je 0x5f16c3
lea ecx, [esp + 0x20]
call fcn.00420020
cmp byte [esp + 0x17], 0
jmp 0x5f1812
push 0x100
lea eax, [esp + 0xd8]
push eax
push ebp
call fcn.005f18c0
add esp, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5f181c
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x98]
call fcn.00418140
lea eax, [esp + 0x94]
mov byte [esp + 0x2e0], 3
push eax
push esi
call fcn.005f2af0
add esp, 8
lea ecx, [esp + 0x94]
call fcn.00418210
lea ecx, [esp + 0x34]
call fcn.00418210
jmp 0x5f1865
push 3
lea eax, [esp + 0x58]
push 2
push eax
call fcn.005f1380
add esp, 0xc
cmp dword [esp + 0x64], 0
mov byte [esp + 0x2e0], 4
jne 0x5f1770
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e0], 0
call fcn.00418210
jmp 0x5f181c
push 3
lea eax, [esp + 0x78]
push 5
push eax
call fcn.005f1380
add esp, 0xc
cmp dword [esp + 0x84], 0
mov byte [esp + 0x2e0], 5
jne 0x5f17af
lea ecx, [esp + 0x74]
call fcn.00418210
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e0], 0
call fcn.00418210
jmp 0x5f181c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.0041aea0
push 0x20
push 1
lea ecx, [esp + 0x3c]
call fcn.004390c0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
call fcn.0041aea0
jmp 0x5f1793
cmp dword [0x82e960], eax
je 0x5f181c
push str.unknown_wxLocaleInfo
push str.Assert_failure
push str.wxLocale::GetInfo
push 0x614
push str....._srccommonintl.cpp
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5f181c
mov byte [0x87c8e0], 0
int3
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00419170
push dword [esp + 0x4c]
mov dword [esi + 0x18], 0
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x5f1865
push dword [esp + 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x2d0
ret