Function at 0x7e1e30
Capabilities:
Identify system language via api

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x880929
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xa5d1d4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x128]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], ebx
call fcn.007df450
test al, al
je 0x7e23ea
call fcn.007a0480
cmp eax, 0x1000
jl 0x7e223f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push eax
push 8
call dword [0xea4d04]
test eax, eax
je 0x7e20f3
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00800701
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [0xea4d04]
test eax, eax
je 0x7e1f9f
cmp dword [ebp - 0x1c], 0
mov ebx, esi
jbe 0x7e20e5
xor esi, esi
nop
test ebx, ebx
lea ecx, [ebp + 0x50]
mov eax, 0x88b2f0
cmovne eax, ebx
push eax
call fcn.00451470
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov eax, dword [edi]
mov ecx, edi
inc eax
mov byte [ebp - 4], 2
push eax
call fcn.004e4200
mov ecx, dword [edi]
lea eax, [ebp + 0x50]
shl ecx, 5
add ecx, dword [edi + 8]
push eax
call fcn.004cb460
mov eax, dword [ebp + 0x60]
lea ecx, [ebp + 0x50]
inc dword [edi]
mov byte [ebp - 4], 1
lea ebx, [ebx + eax*2]
add ebx, 2
call fcn.00436d10
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x7e1f30
mov esi, dword [ebp - 0x24]
push esi
call fcn.008006fc
add esp, 4
jmp 0x7e24d3
xor al, al
test al, al
jne 0x7e1ffa
lea eax, [ebp + 0x50]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov edi, eax
or ebx, 2
mov byte [ebp - 4], 3
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7e1fdf
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7e1fdf
call fcn.00742270
jmp 0x7e1fe4
mov al, byte [0xa5c73c]
test al, al
je 0x7e1ffa
push edi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e1ffe
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 1
test bl, 2
je 0x7e2018
and ebx, 0xfffffffd
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x7e20e2
call fcn.00737b00
mov dword [ebp + 0x5c], eax
mov byte [ebp - 4], 4
call fcn.00737b00
mov dword [ebp + 0x60], eax
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 5
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2a90
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
sub esp, 0x14
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x28], esp
call sub.KERNEL32.dll_GetLastError
push eax
push edi
call fcn.007433a0
add esp, 8
push 0x8a64f0
push str.wxUILocaleImplName::GetPreferredUILanguages
push 0x207
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
push 6
lea ecx, [ebp]
mov byte [ebp - 4], 7
call fcn.004cb390
mov edi, eax
mov byte [ebp - 4], 8
call sub.KERNEL32.dll_GetLastError
push eax
push str.GetUserPreferredUILanguages
push 0x207
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
lea eax, [ebp + 0x5c]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.004d04c0
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 1
call fcn.00476530
mov al, 1
jmp 0x7e1fa1
mov edi, dword [ebp - 0x18]
push esi
call fcn.008006fc
add esp, 4
jmp 0x7e24d3
xor al, al
test al, al
jne 0x7e2151
lea eax, [ebp + 0x50]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 4
mov dword [ebp - 4], 0xa
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7e2136
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7e2136
call fcn.00742270
jmp 0x7e213b
mov al, byte [0xa5c73c]
test al, al
je 0x7e2151
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e2155
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
test bl, 4
je 0x7e216f
and ebx, 0xfffffffb
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x7e24d3
call fcn.00737b00
mov dword [ebp + 0x5c], eax
mov dword [ebp - 4], 0xb
call fcn.00737b00
mov dword [ebp + 0x60], eax
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0xc
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2a90
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
sub esp, 0x14
mov dword [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x28], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007433a0
add esp, 8
push 0x8a64f0
push str.wxUILocaleImplName::GetPreferredUILanguages
push 0x20c
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
push 6
lea ecx, [ebp]
mov byte [ebp - 4], 0xe
call fcn.004cb390
mov esi, eax
mov byte [ebp - 4], 0xf
call sub.KERNEL32.dll_GetLastError
push eax
push str.GetUserPreferredUILanguages
push 0x20c
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
lea eax, [ebp + 0x5c]
mov byte [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.004d04c0
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0
call fcn.00476530
mov al, 1
jmp 0x7e20f5
push 0x55
lea eax, [ebp + 0x70]
push eax
call dword [0xea4d08]
test eax, eax
je 0x7e229b
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x50]
call fcn.00451470
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov eax, dword [edi]
mov ecx, edi
inc eax
mov dword [ebp - 4], 0x11
push eax
call fcn.004e4200
mov ecx, dword [edi]
lea eax, [ebp + 0x50]
shl ecx, 5
add ecx, dword [edi + 8]
push eax
call fcn.004cb460
inc dword [edi]
lea ecx, [ebp + 0x50]
call fcn.00436d10
jmp 0x7e24d3
xor al, al
nop dword [eax]
test al, al
jne 0x7e22fc
lea eax, [ebp + 0x50]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 8
mov dword [ebp - 4], 0x12
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x7e22e1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x7e22e1
call fcn.00742270
jmp 0x7e22e6
mov al, byte [0xa5c73c]
test al, al
je 0x7e22fc
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e2300
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
test bl, 8
je 0x7e231a
and ebx, 0xfffffff7
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x7e24d3
call fcn.00737b00
mov dword [ebp + 0x5c], eax
mov dword [ebp - 4], 0x13
call fcn.00737b00
mov dword [ebp + 0x60], eax
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0x14
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2a90
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
sub esp, 0x14
mov dword [ebp - 4], 0x15
mov esi, esp
mov dword [ebp - 0x28], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007433a0
add esp, 8
push 0x8a64f0
push str.wxUILocaleImplName::GetPreferredUILanguages
push 0x219
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
push 6
lea ecx, [ebp]
mov byte [ebp - 4], 0x16
call fcn.004cb390
mov esi, eax
mov byte [ebp - 4], 0x17
call sub.KERNEL32.dll_GetLastError
push eax
push str.GetUserDefaultLocaleName
push 0x219
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmswuilocale.cpp
lea eax, [ebp + 0x5c]
mov byte [ebp - 4], 0x18
push eax
mov ecx, esi
call fcn.004d04c0
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0
call fcn.00476530
mov al, 1
jmp 0x7e22a0
call fcn.00759770
mov edi, eax
mov ebx, dword [edi]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x1400
cmp ax, cx
je 0x7e24d0
mov esi, eax
shr eax, 0xa
and esi, 0x3ff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
xor esi, esi
test ebx, ebx
je 0x7e24d0
xor ebx, ebx
nop word [eax + eax]
cmp esi, dword [edi]
jb 0x7e246c
cmp dword [0xa5c6a0], 0
je 0x7e246c
push 0
push str.idx___m_size
push str.wxVector_struct_wxLanguageInfo_::at
push 0x1ec
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_vector.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7e246c
mov byte [0xea464c], 0
int3
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ebx + 0x64], ecx
jne 0x7e24c0
cmp esi, dword [edi]
jb 0x7e24b4
cmp dword [0xa5c6a0], 0
je 0x7e24b4
push 0
push str.idx___m_size
push str.wxVector_struct_wxLanguageInfo_::at
push 0x1ec
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_vector.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7e24b4
mov byte [0xea464c], 0
int3
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + ebx + 0x68], ecx
je 0x7e24f8
inc esi
add ebx, 0xb0
cmp esi, dword [ebp - 0x20]
jb 0x7e2430
mov edi, dword [ebp - 0x18]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.008001d2
lea esp, [ebp + 0x120]
pop ebp
ret
cmp esi, dword [ebp - 0x20]
jae 0x7e24d0
cmp esi, dword [edi]
jb 0x7e2539
cmp dword [0xa5c6a0], 0
je 0x7e2539
push 0
push str.idx___m_size
push str.wxVector_struct_wxLanguageInfo_::at
push 0x1ec
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_vector.h
call fcn.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x7e2539
mov byte [0xea464c], 0
int3
imul ecx, esi, 0xb0
mov esi, dword [edi + 8]
mov edi, dword [ebp - 0x18]
add esi, 0x24
add esi, ecx
mov ecx, edi
mov eax, dword [edi]
inc eax
push eax
call fcn.004e4200
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
push esi
call fcn.004cb460
inc dword [edi]
jmp 0x7e24d3