Function at 0x44ec00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48c608
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00415d10
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], 0
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x44ec78
lea ecx, [eax - 1]
test ecx, ecx
jl 0x44ed41
cmp ecx, eax
jg 0x44ed41
movzx eax, word [ebp + ecx*2]
cmp ax, 0x5c
je 0x44ec78
push 0x5c
lea edi, [esp + 0x24]
call fcn.00416550
mov ebp, dword [esp + 0x20]
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, str.OPTIONS.INI
mov byte [esp + 0x3c], 1
call fcn.00409750
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.0040b8a0
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ece0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ed4b
mov byte [esp + 0x34], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ed0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44ed2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x80070057
call fcn.00416be0
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x4a1f9c
call fcn.00416880
lea edx, [esp + 0x24]
mov bl, 3
push edx
mov ecx, str.EUDC
mov byte [esp + 0x38], bl
call fcn.00416880
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 4
call fcn.0044ea40
add esp, 0xc
test al, al
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44edb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eddd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x44ee3b
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ee04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44ed2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x4a1f54
call fcn.00416880
lea edx, [esp + 0x28]
mov bl, 5
push edx
mov ecx, str.EUDC
mov byte [esp + 0x38], bl
call fcn.00416880
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 6
call fcn.0044ea40
add esp, 0xc
test al, al
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eea9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eecd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x44ef2b
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44ed2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.DictFileName
call fcn.00416880
lea edx, [esp + 0x28]
mov bl, 7
push edx
mov ecx, str.Dict
mov byte [esp + 0x38], bl
call fcn.00416880
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0044ea40
add esp, 0xc
test al, al
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x28]
sete byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ef99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44efbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x44efea
lea ecx, [esp + 0x1c]
call fcn.00416ba0
lea ecx, [esp + 0x20]
call fcn.00416ba0
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.BihuaFileName
call fcn.00416880
lea edx, [esp + 0x28]
push edx
mov ecx, str.Dict
mov byte [esp + 0x38], 9
call fcn.00416880
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 0xa
call fcn.0044ea40
add esp, 0xc
test al, al
lea ecx, [esp + 0x28]
sete bl
call fcn.00416ba0
lea ecx, [esp + 0x24]
call fcn.00416ba0
lea ecx, [esp + 0x1c]
call fcn.00416ba0
lea ecx, [esp + 0x20]
call fcn.00416ba0
test bl, bl
jne 0x44ed2b
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret