Function at 0x42ae20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474808
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esi], 9
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call fcn.0042ac60
add esp, 4
test eax, eax
jne 0x42b056
lea ecx, [esp + 8]
push ecx
call fcn.0042a9b0
add esp, 4
cmp eax, 1
jne 0x42b056
lea ebx, [eax + 1]
push 0x493204
xor eax, eax
lea edx, [esp + 0xc]
call fcn.0040e0e0
test eax, eax
jne 0x42aeb9
mov dword [esi], 9
jmp 0x42b017
push 0x49320c
xor eax, eax
lea edx, [esp + 0xc]
call fcn.0040e0e0
test eax, eax
jne 0x42aed8
mov dword [esi], 0x12
jmp 0x42b017
push 0x493214
xor eax, eax
lea edx, [esp + 0xc]
call fcn.0040e0e0
test eax, eax
jne 0x42aef7
mov dword [esi], 0x11
jmp 0x42b017
push str.zh_TW
mov ebx, 5
xor eax, eax
lea edx, [esp + 0xc]
call fcn.0040e0e0
test eax, eax
je 0x42b011
lea edx, [esp + 8]
push edx
mov edx, str.zh_HK
call fcn.004185e0
test eax, eax
je 0x42b011
lea eax, [esp + 8]
push eax
mov edx, 0x493234
call fcn.004185e0
test eax, eax
jne 0x42af49
mov dword [esi], 4
jmp 0x42b017
lea ecx, [esp + 8]
push ecx
mov edx, 0x49323c
call fcn.004185e0
test eax, eax
jne 0x42af67
mov dword [esi], 0xa
jmp 0x42b017
lea edx, [esp + 8]
push edx
mov edx, 0x493244
call fcn.004185e0
test eax, eax
jne 0x42af85
mov dword [esi], 0x16
jmp 0x42b017
lea eax, [esp + 8]
push eax
mov edx, 0x49324c
call fcn.004185e0
test eax, eax
jne 0x42afa0
mov dword [esi], 0xc
jmp 0x42b017
lea ecx, [esp + 8]
push ecx
mov edx, 0x493254
call fcn.004185e0
test eax, eax
jne 0x42afbb
mov dword [esi], 7
jmp 0x42b017
lea edx, [esp + 8]
push edx
mov edx, 0x49325c
call fcn.004185e0
test eax, eax
jne 0x42afd6
mov dword [esi], 0x19
jmp 0x42b017
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
mov dword [esi], 9
jae 0x42afeb
lea eax, [esp + 0xc]
push eax
push 0x48ae50
mov ecx, 2
mov ebx, str.._srcutil_npWinLanguage.cpp_376__:__npz::cmn::npWinLanguage::getUserLangIDFormReg_
call fcn.0041aaa0
add esp, 8
lea ecx, [esp + 8]
call fcn.00401510
jmp 0x42b091
mov dword [esi], 0x7c04
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x42b026
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push eax
push str._d____s
xor ecx, ecx
mov ebx, str.._srcutil_npWinLanguage.cpp_379__:__npz::cmn::npWinLanguage::getUserLangIDFormReg_
call fcn.0041aaa0
add esp, 0xc
cmp dword [esp + 0x20], 8
jb 0x42b052
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00452ad1
add esp, 4
xor eax, eax
jmp 0x42b096
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x42b065
lea eax, [esp + 0xc]
push eax
push 0x48ae50
mov ecx, 2
mov ebx, str.._srcutil_npWinLanguage.cpp_382__:__npz::cmn::npWinLanguage::getUserLangIDFormReg_
call fcn.0041aaa0
add esp, 8
cmp dword [esp + 0x20], 8
jb 0x42b091
mov edx, dword [esp + 0xc]
push edx
call fcn.00452ad1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452816
add esp, 0x2c
ret