Function at 0x403930
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d0c2a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x10], 0
call fcn.00428ed0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 0
call fcn.004291c0
add esp, 4
lea esi, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.0042f480
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, str.handinput.dat
mov byte [esp + 0x3c], 2
call fcn.004065b0
add esp, 8
mov byte [esp + 0x34], 3
mov eax, dword [eax]
mov esi, dword [0x4d5364]
mov ebx, 1
push eax
mov dword [esp + 0x14], ebx
call esi
test eax, eax
jne 0x403a1d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.handinput.dat
call fcn.004065b0
add esp, 8
mov dword [esp + 0x34], 4
mov eax, dword [eax]
mov ebx, 3
push eax
mov dword [esp + 0x14], ebx
call esi
test eax, eax
jne 0x403a1d
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, str.handinput.dat
call fcn.004065b0
mov eax, dword [eax]
add esp, 8
push eax
mov ebx, 7
call esi
test eax, eax
mov byte [esp + 0xf], 0
je 0x403a22
mov byte [esp + 0xf], 1
test bl, 4
je 0x403a4e
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x34], 3
je 0x403a82
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x34], 2
je 0x403aaf
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
je 0x403ae5
lea ecx, [edi + 0x198]
push ecx
push str.HandInputLibVersion
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00428820
lea edx, [edi + 0x19c]
push edx
push str.lasthandinputupdatetime
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00428820
add esp, 0x10
mov esi, edi
call fcn.004047b0
mov eax, dword [edi + 0x17c]
test eax, eax
je 0x403afb
mov ecx, dword [edi + 4]
mov dword [eax], ecx
cmp dword [edi + 0x178], 0
je 0x403b15
mov ecx, dword [edi + 0x178]
mov eax, dword [ecx]
mov edx, dword [edi + 4]
mov eax, dword [eax + 4]
push edx
call eax
push edi
call fcn.004049f0
mov esi, edi
call fcn.00404c10
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x90], 0
mov dword [edi + 0x90], eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ecx], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403b64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
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 0x403b89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
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 0x403bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret 4