Function at 0x7e1fd0
Capabilities:
Identify system language via api

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x880b49
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0xa5e224]
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.007df5f0
test al, al
je 0x7e258a
call fcn.007a0620
cmp eax, 0x1000
jl 0x7e23df
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 [0xea5d54]
test eax, eax
je 0x7e2293
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.008008c1
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 [0xea5d54]
test eax, eax
je 0x7e213f
cmp dword [ebp - 0x1c], 0
mov ebx, esi
jbe 0x7e2285
xor esi, esi
nop
test ebx, ebx
lea ecx, [ebp + 0x50]
mov eax, 0x88c2f0
cmovne eax, ebx
push eax
call fcn.00451580
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.004e4360
mov ecx, dword [edi]
lea eax, [ebp + 0x50]
shl ecx, 5
add ecx, dword [edi + 8]
push eax
call fcn.004cb5a0
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.00436e00
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x7e20d0
mov esi, dword [ebp - 0x24]
push esi
call fcn.008008bc
add esp, 4
jmp 0x7e2673
xor al, al
test al, al
jne 0x7e219a
lea eax, [ebp + 0x50]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov edi, eax
or ebx, 2
mov byte [ebp - 4], 3
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x7e217f
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7e217f
call fcn.007423b0
jmp 0x7e2184
mov al, byte [0xa5d794]
test al, al
je 0x7e219a
push edi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e219e
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 1
test bl, 2
je 0x7e21b8
and ebx, 0xfffffffd
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x7e2282
call fcn.00737c40
mov dword [ebp + 0x5c], eax
mov byte [ebp - 4], 4
call fcn.00737c40
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.004d2bd0
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.007434e0
add esp, 8
push 0x8a7570
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.004cb4d0
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.004d0600
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 1
call fcn.00476650
mov al, 1
jmp 0x7e2141
mov edi, dword [ebp - 0x18]
push esi
call fcn.008008bc
add esp, 4
jmp 0x7e2673
xor al, al
test al, al
jne 0x7e22f1
lea eax, [ebp + 0x50]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 4
mov dword [ebp - 4], 0xa
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x7e22d6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7e22d6
call fcn.007423b0
jmp 0x7e22db
mov al, byte [0xa5d794]
test al, al
je 0x7e22f1
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e22f5
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
test bl, 4
je 0x7e230f
and ebx, 0xfffffffb
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x7e2673
call fcn.00737c40
mov dword [ebp + 0x5c], eax
mov dword [ebp - 4], 0xb
call fcn.00737c40
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.004d2bd0
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.007434e0
add esp, 8
push 0x8a7570
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.004cb4d0
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.004d0600
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0
call fcn.00476650
mov al, 1
jmp 0x7e2295
push 0x55
lea eax, [ebp + 0x70]
push eax
call dword [0xea5d58]
test eax, eax
je 0x7e243b
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x50]
call fcn.00451580
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.004e4360
mov ecx, dword [edi]
lea eax, [ebp + 0x50]
shl ecx, 5
add ecx, dword [edi + 8]
push eax
call fcn.004cb5a0
inc dword [edi]
lea ecx, [ebp + 0x50]
call fcn.00436e00
jmp 0x7e2673
xor al, al
nop dword [eax]
test al, al
jne 0x7e249c
lea eax, [ebp + 0x50]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 8
mov dword [ebp - 4], 0x12
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x7e2481
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x7e2481
call fcn.007423b0
jmp 0x7e2486
mov al, byte [0xa5d794]
test al, al
je 0x7e249c
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 6
jae 0x7e24a0
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
test bl, 8
je 0x7e24ba
and ebx, 0xfffffff7
lea ecx, [ebp + 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x7e2673
call fcn.00737c40
mov dword [ebp + 0x5c], eax
mov dword [ebp - 4], 0x13
call fcn.00737c40
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.004d2bd0
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.007434e0
add esp, 8
push 0x8a7570
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.004cb4d0
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.004d0600
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0
call fcn.00476650
mov al, 1
jmp 0x7e2440
call fcn.007598a0
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 0x7e2670
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 0x7e2670
xor ebx, ebx
nop word [eax + eax]
cmp esi, dword [edi]
jb 0x7e260c
cmp dword [0xa5d6f8], 0
je 0x7e260c
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.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7e260c
mov byte [0xea569c], 0
int3
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ebx + 0x64], ecx
jne 0x7e2660
cmp esi, dword [edi]
jb 0x7e2654
cmp dword [0xa5d6f8], 0
je 0x7e2654
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.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7e2654
mov byte [0xea569c], 0
int3
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + ebx + 0x68], ecx
je 0x7e2698
inc esi
add ebx, 0xb0
cmp esi, dword [ebp - 0x20]
jb 0x7e25d0
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.00800392
lea esp, [ebp + 0x120]
pop ebp
ret
cmp esi, dword [ebp - 0x20]
jae 0x7e2670
cmp esi, dword [edi]
jb 0x7e26d9
cmp dword [0xa5d6f8], 0
je 0x7e26d9
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.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x7e26d9
mov byte [0xea569c], 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.004e4360
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
push esi
call fcn.004cb5a0
inc dword [edi]
jmp 0x7e2673