Function at 0x42cde0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4944a7
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
push str.FomatInternetOpenUrlParameter
push str.CWinInternetConnect
mov ebx, ecx
mov dword [esp + 0x34], eax
call fcn.0042af10
add esp, 8
or edi, 0xffffffff
push str.kernel32.dll
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42ce9b
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push esi
call ebp
mov edi, eax
test edi, edi
je 0x42ce7c
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push str.GetUserGeoID
push esi
call ebp
test eax, eax
je 0x42ce90
push 0x10
call eax
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ceb5
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x15c], 0
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ceea
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x11c
lea ecx, [esp + 0x34]
push 0
push ecx
mov byte [esp + 0x168], 1
call fcn.0047c3b0
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
neg edx
push eax
sbb edx, edx
push ecx
and edx, 0x20
add edx, 0x20
push edx
lea eax, [esp + 0x30]
push str.WIN_d__d._d
push eax
call fcn.004045e0
mov al, byte [esp + 0x15e]
add esp, 0x14
cmp al, 2
je 0x42cf68
cmp al, 3
mov eax, 0x4a8110
jne 0x42cf6d
mov eax, 0x4a8108
movzx ecx, word [esp + 0x146]
movzx edx, word [esp + 0x144]
push eax
mov eax, dword [esp + 0x24]
neg eax
push ecx
mov ecx, dword [esp + 0x44]
sbb eax, eax
push edx
and eax, 0x20
add eax, 0x20
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d._d__s
push edx
call fcn.004045e0
add esp, 0x1c
push 0x49f850
lea ecx, [esp + 0x1c]
call fcn.00404740
test ebx, ebx
mov byte [esp + 0x15c], 2
je 0x42d006
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42d006
push 0
push 0
push 0x7f0e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x42d006
push 5
push str._MDL_
lea ecx, [esp + 0x20]
call fcn.00404b00
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00435540
push 0x5f
push 0x20
lea ecx, [esp + 0x20]
push ecx
call fcn.00413370
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d020
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 0x49f850
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 3
call fcn.00404740
mov byte [esp + 0x15c], 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea ecx, [esp + 0x28]
and eax, 0x3ff
push eax
push str._02x
push ecx
call fcn.004045e0
add esp, 0xc
cmp edi, 0xffffffff
je 0x42d084
push edi
lea edx, [esp + 0x20]
push str._02x
push edx
call fcn.004045e0
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
push ebp
push ebx
push eax
push edi
push ecx
push str._PRN_sLGW_sCNW_sOSV_sOATR_s
push esi
call fcn.004045e0
mov esi, dword [esi]
add esp, 0x1c
push str.FomatInternetOpenUrlParameter
push str.CWinInternetConnect
call fcn.0042b0b0
mov byte [esp + 0x164], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d0eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x15c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d10f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x15c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x15c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d15b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x15c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d182
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0047a105
add esp, 0x14c
ret