Function at 0x429721
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x430c69
call fcn.0042e9c0
sub esp, 0x90
mov al, byte [0x438c21]
push ebx
neg al
mov byte [0x438c21], al
mov eax, dword [0x438c3c]
push esi
mov ecx, eax
push edi
xor ebx, ebx
or ecx, 0xa133ffff
push 0x7a9ffff
add dword [0x438c50], ecx
push eax
mov dword [ebp - 0x20], ebx
call fcn.0040aa4f
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add dword [0x438c58], eax
pop ecx
pop ecx
call esi
mov word [0x438c2e], ax
movsx eax, byte [0x438c19]
push eax
push 0xa36dffff
call fcn.0040aa4f
mov edi, dword [0x4331d8]
add byte [0x438c1a], al
pop ecx
mov al, byte [edi]
pop ecx
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push 6
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c4c]
mov dword [ebp - 0x10], eax
movsx eax, byte [0x438c21]
push eax
call fcn.0040ab0e
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
mov byte [0x438c1a], al
je 0x42a15d
movsx eax, byte [0x438c1f]
push eax
push 0x6a93ffff
call fcn.0040a933
push 0xc6a1ffff
mov word [0x438c2a], ax
push dword [0x438c44]
call fcn.0040aac5
add dword [0x438c58], eax
push 0x8193ffff
push 0x5467ffff
call fcn.0040a8f9
push dword [ebp - 0x10]
add dword [0x438c50], eax
call fcn.0042963a
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
add byte [0x438c1f], al
push 0x95ffffff
push 0x6f89ffff
call fcn.0040a9a5
add word [0x438c24], ax
mov al, byte [0x438c4c]
dec al
mov dword [ebp - 0x14], ebx
mov byte [0x438c1e], al
movsx eax, word [0x438c2e]
push eax
movsx eax, byte [0x438c21]
push eax
call fcn.0040a96f
push 0xc007ffff
push 0xd6dfffff
mov dword [0x438c58], eax
call fcn.0040ab0e
push dword [0x438c50]
mov word [0x438c32], ax
movsx eax, word [0x438c22]
push eax
call fcn.0040ab0e
mov edi, dword [ebp + 0xc]
mov word [0x438c2a], ax
add esp, 0x20
mov eax, dword [edi + 8]
cmp eax, ebx
jbe 0x429bc0
movsx eax, byte [0x438c1b]
add eax, dword [0x438c40]
mov ecx, dword [0x438c54]
push 0x9081ffff
push 0x3263ffff
mov dword [0x438c38], eax
mov eax, dword [0x438c44]
lea eax, [eax + ecx + 0x3a09ffff]
movsx ecx, word [0x438c2e]
mov dword [0x438c44], eax
movsx eax, word [0x438c26]
sub eax, dword [0x438c4c]
add eax, ecx
sub eax, dword [0x438c50]
add dword [0x438c5c], eax
mov al, byte [0x438c18]
dec al
add byte [0x438c1e], al
call fcn.0040a96f
push dword [ebp + 8]
mov dword [0x438c58], eax
push dword [ebp - 0x10]
call fcn.004296b0
mov dword [ebp - 0x14], eax
movsx eax, byte [0x438c19]
push eax
push 0xafb5ffff
call fcn.0040ab0e
add esp, 0x18
mov byte [0x438c1a], al
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
add dword [0x438c48], eax
cmp dword [ebp - 0x14], ebx
je 0x429b84
movsx eax, word [0x438c28]
push eax
push 0x8495ffff
call fcn.0040a9a5
add byte [0x438c1e], al
pop ecx
pop ecx
call esi
movzx eax, ax
add dword [0x438c50], eax
push 0xaa71ffff
movsx eax, byte [0x438c21]
push eax
call fcn.0040a9a5
pop ecx
mov dword [0x438c54], eax
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x9c]
call fcn.0042b0c3
mov esi, dword [0x4331f0]
mov dword [ebp - 4], ebx
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push esi
push eax
call fcn.0042bd2b
mov esi, dword [0x4331f4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
pop ecx
mov al, byte [esi]
pop ecx
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov ecx, dword [ebp - 0x58]
mov eax, esp
cmp ecx, ebx
jne 0x429a0b
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 1
lea edx, [ebp - 0x38]
push 0x4400100
push edx
push ebx
push ebx
push ecx
push esi
push eax
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push dword [ebp - 0x14]
push ebx
call fcn.0040ebd2
pop ecx
call eax
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push dword [0x438c3c]
mov byte [0x438c1f], al
push 0x3a77ffff
call fcn.0040aa83
mov word [0x438c2c], ax
xor eax, eax
cmp dword [0x438c40], ebx
pop ecx
pop ecx
setne al
cmp dword [ebp + 8], ebx
mov dword [0x438c58], eax
je 0x429b75
mov ax, word [0x438c44]
push dword [0x438c50]
mov word [0x438c32], ax
xor eax, eax
cmp byte [0x438c1d], bl
push 0xdaedffff
push 0x4ffdffff
setne al
add word [0x438c2c], ax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [0x4331cc]
add byte [0x438c1b], al
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push esi
push eax
call fcn.0042bd2b
pop ecx
mov esi, eax
mov al, byte [ebp + 0xb]
pop ecx
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x5cbbffff
mov byte [ebp - 4], 1
push dword [0x438c58]
call fcn.0040aa18
add byte [0x438c1e], al
movsx eax, byte [0x438c1e]
push eax
movsx eax, word [0x438c2a]
push eax
call fcn.0040a933
add word [0x438c2c], ax
movsx eax, word [0x438c30]
push eax
push 0xc015ffff
call fcn.0040a8f9
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov word [0x438c2a], ax
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
add esp, 0x18
cmp edi, ebx
jne 0x429b51
mov edi, ecx
cmp dword [ebp - 0x2c], ebx
je 0x429b59
mov ecx, dword [ebp - 0x2c]
push eax
push edi
push 0xffffffffffffffff
push ecx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0040c862
movsx eax, word [0x438c30]
push 0x34f9ffff
push eax
call fcn.0040a9a5
add dword [0x438c5c], eax
pop ecx
movsx ax, byte [0x438c1c]
mov word [0x438c28], ax
pop ecx
movsx eax, word [0x438c30]
or eax, 0x9767ffff
add dword [0x438c3c], eax
jmp 0x429c3f
mov eax, dword [0x438c38]
add eax, 0xe87ffff
mov dword [0x438c50], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x429bde
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
push 0x84080000
push 0xffffffffffffffff
push ebx
push eax
push dword [ebp - 0x10]
push 7
call fcn.0040ebd2
pop ecx
call eax
mov dword [ebp + 8], eax
movsx eax, word [0x438c22]
push eax
push eax
call fcn.0040aa83
push 0xb75bffff
push 0x14a1ffff
mov byte [0x438c21], al
call fcn.0040a96f
add esp, 0x10
add word [0x438c2e], ax
push 0x52fffff
push 0xfcbfffff
push dword [0x438c48]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x438c50], eax
cmp dword [ebp + 8], ebx
je 0x42a0e3
push 2
mov dword [ebp - 0x18], ebx
pop esi
push esi
call fcn.0040ebd2
push 0x43
call fcn.0040ebd2
push 0xbfcbffff
push 0xd237ffff
call fcn.0040aac5
mov byte [0x438c1f], al
push 0x3c09ffff
movsx eax, byte [0x438c1a]
push eax
call fcn.0040a9de
mov word [0x438c2a], ax
add esp, 0x18
movsx eax, byte [0x438c1e]
and eax, dword [0x438c48]
push ebx
push 0x55
add dword [0x438c5c], eax
call fcn.0040ebd2
pop ecx
call eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.0042961f
push 0x43
call fcn.0040ebd2
add esp, 0x10
call eax
cmp eax, 0x7a
jne 0x42a088
push 0x19c5ffff
push 0xb303ffff
call fcn.0040aa4f
add word [0x438c26], ax
mov eax, dword [ebp - 0x18]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x34], edi
call fcn.0042961f
movsx eax, word [0x438c2c]
push eax
push eax
mov byte [0x438c20], 1
call fcn.0040ab0e
push dword [0x438c58]
mov dword [0x438c48], eax
push 0x910dffff
call fcn.0040aa83
add esp, 0x28
cmp dword [ebp - 0x18], 3
mov word [0x438c2e], ax
jb 0x42a07f
cmp byte [edi], 0x32
jne 0x42a07f
movsx eax, word [0x438c2c]
push eax
push 0xd61bffff
call fcn.0040a933
add dword [0x438c44], eax
push dword [0x438c4c]
movsx ax, byte [0x438c21]
mov word [0x438c24], ax
movsx eax, word [0x438c2a]
push eax
call fcn.0040aac5
add word [0x438c26], ax
push 0xf8a1ffff
movsx eax, word [0x438c24]
push eax
call fcn.0040a8f9
push dword [0x438c50]
add word [0x438c28], ax
push 0xe273ffff
call fcn.0040aac5
add byte [0x438c21], al
add esp, 0x20
lea eax, [ebp + 0xc]
push ebx
push ebx
push eax
push dword [ebp + 8]
push 8
call fcn.0040ebd2
pop ecx
call eax
test eax, eax
je 0x429e5d
movsx eax, byte [0x438c18]
push 0x1a5dffff
push eax
call fcn.0040a8f9
add word [0x438c26], ax
push 0x79cdffff
push dword [0x438c40]
call fcn.0040a96f
mov word [0x438c2a], ax
mov eax, 0x10000
add esp, 0x10
cmp dword [ebp + 0xc], eax
jae 0x429e11
mov dword [ebp + 0xc], eax
movsx eax, word [0x438c30]
sub eax, dword [0x438c50]
mov dword [0x438c4c], eax
mov eax, 0x400000
cmp dword [ebp + 0xc], eax
jb 0x429e30
mov dword [ebp + 0xc], eax
mov al, byte [0x438c1d]
push dword [0x438c58]
mov byte [0x438c19], al
mov word [0x438c2c], bx
movsx eax, byte [0x438c18]
push eax
call fcn.0040aac5
pop ecx
mov dword [0x438c4c], eax
pop ecx
jmp 0x429ec9
movsx eax, byte [0x438c1b]
push eax
push 0x373bffff
mov word [0x438c2a], 1
call fcn.0040aa18
add byte [0x438c1c], al
push 0x403fffff
movsx ax, byte [0x438c18]
or eax, dword [0x438c48]
mov dword [ebp + 0xc], 0x10000
mov word [0x438c28], ax
movsx eax, byte [0x438c1c]
push eax
call fcn.0040aa83
mov ecx, dword [0x438c40]
mov word [0x438c24], ax
movsx eax, word [0x438c32]
sub ecx, eax
add esp, 0x10
add dword [0x438c4c], ecx
mov eax, dword [ebp + 0xc]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [0x438c44]
mov edi, eax
movsx eax, word [0x438c32]
push eax
call fcn.0040a933
add byte [0x438c1a], al
add esp, 0xc
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov word [0x438c24], ax
mov al, byte [0x438c21]
shl al, 1
inc al
push ebx
mov byte [0x438c21], al
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ax, word [0x438c2a]
push dword [ebp + 0x10]
add word [0x438c2e], ax
mov eax, dword [0x438c58]
and eax, 0x9f41ffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [0x438c50], eax
mov word [0x438c30], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::swap_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
movsx eax, byte [0x438c18]
push eax
movsx eax, byte [0x438c1f]
push eax
call fcn.0040ab0e
add byte [0x438c1d], al
push 0x90cdffff
push 0x4067ffff
call fcn.0040aa4f
push 0x5485ffff
push 0x47bdffff
mov word [0x438c34], ax
call fcn.0040aa4f
mov word [0x438c2a], ax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.0042967f
add esp, 0x28
mov esi, eax
cmp esi, ebx
je 0x42a00a
cmp dword [ebp - 0x1c], ebx
je 0x42a00a
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
dec byte [0x438c20]
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [0x438c50]
mov ecx, dword [0x438c4c]
push dword [0x438c44]
lea eax, [ecx + eax - 0x654c0001]
mov dword [0x438c4c], eax
movsx eax, word [0x438c22]
push eax
call fcn.0040a933
mov word [0x438c32], ax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.0042967f
add esp, 0x18
jmp 0x429fa7
xor eax, eax
cmp byte [0x438c1b], bl
push edi
setne al
add word [0x438c30], ax
call fcn.0042e920
push dword [0x438c38]
push 0x8923ffff
call fcn.0040aa4f
add esp, 0xc
cmp esi, ebx
mov word [0x438c26], ax
je 0x42a070
movsx eax, byte [0x438c1b]
push 0x5c1bffff
push eax
call fcn.0040a933
mov byte [0x438c1c], al
mov al, byte [0x438c48]
or al, byte [0x438c54]
pop ecx
pop ecx
mov dword [ebp - 0x20], 1
add byte [0x438c1a], al
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp - 0x34]
call fcn.0042e920
pop ecx
movsx eax, word [0x438c2e]
push dword [0x438c44]
push eax
push dword [0x438c54]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [0x438c21], al
movsx eax, word [0x438c28]
push eax
push 0x8315ffff
call fcn.0040a8f9
add dword [0x438c4c], eax
push 0x16bfffff
push 0xb96bffff
call fcn.0040a8f9
add esp, 0x10
mov byte [0x438c20], al
push dword [ebp + 8]
push 3
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c48]
push 0xa87dffff
call fcn.0040a9a5
add word [0x438c2a], ax
cmp byte [0x438c1a], bl
pop ecx
pop ecx
je 0x42a111
cmp byte [0x438c19], bl
je 0x42a111
push 1
pop eax
jmp 0x42a113
xor eax, eax
add word [0x438c22], ax
cmp dword [ebp - 0x14], ebx
je 0x42a12c
push dword [ebp - 0x14]
push 3
call fcn.0040ebd2
pop ecx
call eax
mov eax, dword [0x438c4c]
cmp eax, ebx
jne 0x42a13d
cmp byte [0x438c1a], bl
je 0x42a140
push 1
pop ebx
push dword [ebp - 0x10]
add dword [0x438c40], ebx
add eax, 0xc6e40001
push 3
mov dword [0x438c48], eax
call fcn.0040ebd2
pop ecx
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret