Function at 0x431fb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532691
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
call fcn.00478ed3
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 1
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
push 0x42f900
push 0x58d058
call fcn.004798cc
add esp, 0x10
test eax, eax
je 0x432332
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 2
push eax
call fcn.00478f0d
mov ecx, dword [0x58d054]
lea esi, [ebx + 0x224]
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0044ca50
mov dword [ebx + 0x230], 0x21e
mov ecx, 2
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
cmp ecx, eax
push 0xe
sbb eax, eax
and eax, 0x58
add eax, 0x17c
push eax
push 0x21e
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebx + 4]
mov dword [ebx + 0x234], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00430e20
push 0
lea ecx, [ebx + 4]
call fcn.00430660
mov eax, dword [ebx + 0xf0]
lea esi, [ebx + 0xf0]
push dword [ebx + 4]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebx + 0x1f8]
lea ecx, [ebx + 0x1f8]
push dword [ebx + 4]
call dword [eax + 8]
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 5
push eax
call fcn.00478ed3
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 6
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
push 0x42fc60
push 0x58d040
call fcn.004798cc
add esp, 0x10
test eax, eax
je 0x432315
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 7
push eax
call fcn.00478f0d
mov ecx, dword [0x58d03c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.004195d0
test eax, eax
je 0x432178
mov eax, dword [esi]
mov ecx, esi
push dword [ebx + 4]
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp 0x432183
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x219]
call fcn.004300e0
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432206
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x219]
call fcn.00430380
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.004181b0
mov ecx, eax
call fcn.00418250
lea eax, [ebp - 0x220]
push eax
call fcn.00453240
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0xa
mov esi, dword [eax - 0xc]
test esi, esi
js 0x43234b
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x432263
push esi
lea ecx, [ebp - 0x220]
call fcn.0040d870
mov eax, dword [ebp - 0x220]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0050220c
mov eax, dword [ebp - 0x220]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x43234b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x220]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], ecx
jl 0x4322da
push str.zhushou
push eax
call fcn.004d8a44
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x220]
test ecx, ecx
je 0x4322da
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4322da
call fcn.00430b30
mov ecx, eax
call fcn.0044c010
call fcn.00430b30
mov ecx, eax
call fcn.0044c3a0
mov eax, dword [ebp - 0x220]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4322f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 8
push eax
call fcn.00478f4f
add esp, 4
mov byte [ebp - 4], 6
test al, al
je 0x43236b
jmp 0x432355
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
call fcn.00478f4f
add esp, 4
mov byte [ebp - 4], 1
jmp 0x43232c
push 0x80070057
call fcn.00408f30
sub esp, 8
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.0040aa30
call fcn.0040b760
call fcn.0047999d
int3