Function at 0x5f2180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x709490
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
cmp dword [0x82e960], 0
je 0x5f2204
test byte [esp + 0x154], 2
je 0x5f2204
push str.wxLOCALE_CONV_ENCODING_is_no_longer_supported__add_charset_to_your_catalogs
push str.__flags__wxLOCALE_CONV_ENCODING_
push str.wxLocale::Init
push 0x166
push str....._srccommonintl.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5f2204
mov byte [0x87c8e0], 0
int3
mov esi, dword [esp + 0x150]
mov ebx, esi
mov byte [esp + 0x17], 1
test esi, esi
jne 0x5f221d
call fcn.005f1fb0
mov ebx, eax
cmp ebx, 1
je 0x5f2385
push ebx
call fcn.005f1a00
mov edi, eax
add esp, 4
test edi, edi
jne 0x5f238c
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5f2385
call fcn.005c92f0
mov dword [esp + 0x20], eax
mov dword [esp + 0x148], edi
call fcn.005c92f0
mov dword [esp + 0x24], eax
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
mov byte [esp + 0x14c], 1
push str.Unknown_language__i.
push eax
call fcn.00439000
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
push edi
mov dword [esp + 0x158], 2
mov dword [esp + 0x64], 1
mov dword [esp + 0x6c], str....._srccommonintl.cpp
mov dword [esp + 0x74], str.wxLocale::Init
mov dword [esp + 0x70], 0x17d
mov dword [esp + 0x78], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], ax
mov dword [esp + 0x94], eax
push ebx
lea eax, [esp + 0x24]
mov byte [esp + 0x14c], 3
push eax
lea ecx, [esp + 0x5c]
call fcn.0051f390
push dword [esp + 0x94]
mov byte [esp + 0x14c], 2
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x90], 8
jb 0x5f234b
push dword [esp + 0x7c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
call fcn.00439c40
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], 0xffffffff
call fcn.00420020
xor al, al
jmp 0x5f29c2
xor eax, eax
mov dword [esp + 0x110], 7
push 0xffffffffffffffff
push eax
mov word [esp + 0x104], ax
lea ecx, [esp + 0x104]
lea eax, [edi + 0x2c]
mov dword [esp + 0x114], 0
push eax
call fcn.00419170
mov dword [esp + 0x114], 0
xor eax, eax
mov dword [esp + 0x148], 4
push 0xffffffffffffffff
push eax
mov word [esp + 0xe4], ax
lea ecx, [esp + 0xe4]
lea eax, [edi + 4]
mov dword [esp + 0xf8], 7
push eax
mov dword [esp + 0xf8], 0
call fcn.00419170
mov dword [esp + 0xf4], 0
xor eax, eax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
mov dword [esp + 0xd4], eax
test esi, esi
mov byte [esp + 0x148], 6
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov ebp, 0x781ecc
je 0x5f2589
cmp dword [edi + 0x24], eax
jne 0x5f250d
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 2
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5f285f
push str.Locale__s_not_supported_by_OS.
lea ecx, [esp + 0x24]
call fcn.00436250
sub esp, 0xc
lea ecx, [esp + 0x108]
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041f670
push 0x721844
push str.wxLocale::Init
push 0x1d7
push str....._srccommonintl.cpp
push 2
lea ecx, [esp + 0x74]
mov byte [esp + 0x168], 8
call fcn.00439de0
mov byte [esp + 0x154], 9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 0xa
push ecx
mov ecx, eax
call fcn.00493410
lea ecx, [esp + 0x54]
mov byte [esp + 0x148], 7
call fcn.0043f270
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 6
call fcn.00420020
jmp 0x5f285f
mov ax, word [edi + 0x28]
shl ax, 0xa
movzx ecx, ax
movzx eax, word [edi + 0x24]
or ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea eax, [esp + 0x11c]
mov ecx, edi
push eax
call fcn.005f1b60
lea ecx, [esp + 0xbc]
mov byte [esp + 0x148], 0xb
cmp ecx, eax
je 0x5f2551
push 0xffffffffffffffff
push 0
push eax
call fcn.00419170
lea ecx, [esp + 0x11c]
mov byte [esp + 0x148], 6
call fcn.00418210
cmp dword [esp + 0xcc], 0
je 0x5f2623
lea eax, [esp + 0xbc]
push eax
push 0
call fcn.005f3160
add esp, 8
mov ebp, eax
jmp 0x5f25cb
push dword [0x82e964]
lea ecx, [esp + 0x120]
call fcn.00418140
lea eax, [esp + 0x11c]
mov byte [esp + 0x148], 0xc
push eax
push 0
call fcn.005f3160
add esp, 8
mov byte [esp + 0x148], 6
lea ecx, [esp + 0x11c]
mov ebp, eax
call fcn.00418210
test ebp, ebp
jne 0x5f285f
lea eax, [esp + 0x9c]
push 0x400
push eax
call fcn.005f3090
push dword [esp + 0xbc]
cmp dword [eax + 0x10], ebp
sete byte [esp + 0x22]
call esi
add esp, 0xc
cmp dword [esp + 0xb0], 8
jb 0x5f2612
push dword [esp + 0x9c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], 0
je 0x5f2623
mov ebp, 0x781ecc
jmp 0x5f285f
sub esp, 0x20
mov byte [esp + 0x37], 0
mov ecx, esp
push 0x721844
call fcn.00418040
push 2
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5f285f
push str.Cannot_set_locale_to_language___s_.
lea ecx, [esp + 0xa0]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x148], 0xe
call fcn.005eae80
test eax, eax
je 0x5f26a0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.005ecae0
mov edi, eax
test edi, edi
jne 0x5f26b2
lea eax, [esp + 0x9c]
push eax
call fcn.005ed1e0
add esp, 4
mov edi, eax
call fcn.005c92f0
mov dword [esp + 0x20], eax
mov byte [esp + 0x148], 0xf
call fcn.005c92f0
mov dword [esp + 0x24], eax
mov byte [esp + 0x148], 0x10
call fcn.005c92f0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
sub esp, 0xc
lea ecx, [esp + 0x108]
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041f670
push 0
mov byte [esp + 0x158], 0x12
mov dword [esp + 0x64], 2
mov dword [esp + 0x6c], str....._srccommonintl.cpp
mov dword [esp + 0x74], str.wxLocale::Init
mov dword [esp + 0x70], 0x221
mov dword [esp + 0x78], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
mov dword [esp + 0xa0], eax
mov byte [esp + 0x154], 0x13
lea eax, [esp + 0x2c]
mov byte [esp + 0x154], 0x14
push eax
lea ecx, [esp + 0x64]
call fcn.00493410
push dword [esp + 0x94]
mov byte [esp + 0x14c], 0x11
call esi
add esp, 4
cmp dword [esp + 0x90], 8
jb 0x5f27c8
push dword [esp + 0x7c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
lea ecx, [esp + 0x5c]
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
call fcn.00439c40
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0xe
call fcn.00420020
push dword [esp + 0x4c]
call esi
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x5f281b
push dword [esp + 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xb4]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov byte [esp + 0x14c], 6
call esi
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x5f285f
push dword [esp + 0x9c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
lea ecx, [esp + 0xa0]
call fcn.00418040
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0xe0]
mov byte [esp + 0x14c], 0x15
push eax
lea eax, [esp + 0x104]
mov ecx, ebp
push eax
call fcn.005f0ed0
push dword [esp + 0xb4]
test al, al
mov byte [esp + 0x14c], 6
sete byte [esp + 0x1a]
call esi
add esp, 4
cmp dword [esp + 0xb0], 8
jb 0x5f28cb
push dword [esp + 0x9c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
movzx eax, byte [esp + 0x17]
xor ecx, ecx
cmp byte [esp + 0x16], cl
cmovne eax, ecx
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x48], ecx
je 0x5f28e5
mov dword [ebp + 0x44], ebx
call fcn.005eae80
mov edi, eax
test edi, edi
je 0x5f290f
push dword [esp + 0x150]
mov ecx, edi
call fcn.005ef190
test byte [esp + 0x154], 1
je 0x5f290f
mov ecx, edi
call fcn.005ea490
push dword [esp + 0xd4]
call esi
add esp, 4
cmp dword [esp + 0xd0], 8
jb 0x5f2934
push dword [esp + 0xbc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf4]
xor eax, eax
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], ax
call esi
add esp, 4
cmp dword [esp + 0xf0], 8
jb 0x5f2979
push dword [esp + 0xdc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0x114]
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
call esi
add esp, 4
cmp dword [esp + 0x110], 8
jb 0x5f29be
push dword [esp + 0xfc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [esp + 0x18]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x138
ret 8