Function at 0x42b9d0
Capabilities:
Get common file path
Get keyboard layout

Disassembly:
push 0xffffffffffffffff
push 0x5a29c2
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x690], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x6a8]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x4a0]
xor ebx, ebx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x4a0]
call fcn.00404460
push 1
push 0x5bd0e8
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x6bc], ebx
call fcn.00403fc0
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
push ebx
mov byte [esp + 0x6b4], 1
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push ebx
call ebp
mov edi, eax
lea eax, [edi*4]
push eax
push 0x40
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x34], esi
jne 0x42baee
mov byte [esp + 0x6b0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42babc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6b0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42bec0
push esi
push edi
call ebp
push 0x1fc
lea ecx, [esp + 0xa2]
push ebx
push ecx
mov word [esp + 0xa8], bx
call fcn.00580260
add esp, 0xc
push 0x1fc
lea edx, [esp + 0x2a2]
push ebx
push edx
mov word [esp + 0x2a8], bx
call fcn.00580260
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
jle 0x42be62
mov eax, dword [esp + 0x2c]
mov ebp, dword [esi + eax*4]
push 0x1fe
lea ecx, [esp + 0xa0]
push ebx
push ecx
mov dword [esp + 0x54], ebp
call fcn.00580260
add esp, 0xc
push 0x1fe
lea edx, [esp + 0x2a0]
push ebx
push edx
call fcn.00580260
add esp, 0xc
push 0xff
lea eax, [esp + 0xa0]
push eax
push ebp
call sub.IMM32.dll_ImmGetDescriptionW
push 0xff
lea ecx, [esp + 0x2a0]
push ecx
push ebp
call sub.IMM32.dll_ImmGetIMEFileNameW
cmp word [esp + 0x9c], bx
je 0x42be4f
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2a0]
call fcn.00404460
push eax
lea eax, [esp + 0x44]
push eax
lea ebx, [esp + 0x2c]
mov byte [esp + 0x6b8], 2
call fcn.00423280
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x6b0], 3
call fcn.004035d0
mov byte [esp + 0x6b0], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6b0], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
mov edx, dword [0x5fcd20]
add eax, 0x10
mov dword [esp + 0x88], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x9c]
mov byte [esp + 0x6b0], 4
lea edx, [eax + 2]
jmp 0x42bc80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42bc80
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x9c]
mov ebx, eax
push ecx
lea eax, [esp + 0x8c]
call fcn.00404050
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edx
mov dword [esp + 0x4c], 0
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x38], eax
lea edi, [esp + 0x38]
mov byte [esp + 0x6b0], 5
call fcn.00431730
mov ebp, dword [esp + 0x38]
cmp dword [ebp - 0xc], 0
jl 0x42bd08
push str.qqpinyin.ime
push ebp
call fcn.0057880c
add esp, 8
test eax, eax
je 0x42bd08
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
jne 0x42bd3e
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
call fcn.00404460
or dword [esp + 0x20], 1
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x42bd3e
push 0x5bea4c
push eax
call fcn.0057880c
add esp, 8
test eax, eax
je 0x42bd3e
sub eax, dword [esi]
sar eax, 1
test byte [esp + 0x20], 1
je 0x42bd6a
mov eax, dword [esp + 0x3c]
and dword [esp + 0x20], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bd6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5fff68
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], 1
call fcn.00431790
mov ebx, eax
lea edi, [ebx + 4]
mov ecx, 0xe
lea esi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x3c]
lea eax, [esp + 0x88]
mov dword [ebx], 0
call fcn.004035d0
lea edi, [ebx + 0x40]
lea eax, [esp + 0x8c]
call fcn.004035d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x48], eax
add eax, 1
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x10]
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x4c], 1
mov byte [esp + 0x6b0], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bdf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6b0], 1
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x42bb3e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x6b0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6b0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x6a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x690]
xor ecx, esp
call fcn.005787fd
add esp, 0x6a0
ret