Function at 0x423e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5851d3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5ea00c]
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 esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [esi]
or eax, dword [esi + 4]
push 0
jne 0x423e9c
call fcn.00462b87
mov ecx, dword [esi + 8]
add esp, 4
shl ecx, 4
sub ecx, dword [esi + 8]
shl ecx, 2
mov dword [esi], eax
mov dword [esi + 4], edx
test ecx, ecx
jle 0x423ea9
push ecx
push 0
call fcn.004455b7
cdq
add esp, 8
add dword [esi], eax
adc dword [esi + 4], edx
jmp 0x423ea9
call fcn.00462b87
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
call fcn.0044598c
test al, al
je 0x423ec9
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
xor eax, eax
mov dword [ebp - 0x2c], 0xf
push 0xffffffffffffffff
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], eax
lea eax, [esi + 0x110]
push 0
push eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00424ff0
mov dword [ebp - 4], 0
cmp dword [esi + 0x128], 0
je 0x423ffb
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea ecx, [ebp - 0x40]
mov eax, esp
push ecx
push eax
call fcn.004427d5
mov ecx, dword [esi + 0x128]
add esp, 8
push 0
call fcn.004224a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423fce
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x423f7e
mov eax, dword [ecx]
jmp 0x423f80
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.0041fef0
call fcn.00443b34
mov dword [ebp - 0x60], eax
add esp, 0x1c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x423fb5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00420100
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x424101
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x423fe7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00420100
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], 0
je 0x424101
push 0x1869f
push 0x2710
call fcn.004455b7
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
push 1
push 0x5dfdb4
call fcn.00425120
push 5
push str.af614
lea ecx, [ebp - 0x40]
call fcn.00425120
push 1
push 0x5dfdc0
lea ecx, [ebp - 0x40]
call fcn.00425120
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044327c
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00425250
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00422f70
lea ecx, [ebp - 0xa4]
call fcn.00444650
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0xa4]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00444929
lea ecx, [ebp - 0xa4]
call fcn.00444cd2
mov esi, eax
mov ecx, 1
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmove eax, ecx
mov dword [ebp - 0x5c], eax
inc eax
push eax
call fcn.00436bf4
mov ecx, dword [ebp - 0x5c]
mov ebx, eax
inc ecx
mov dword [ebp - 0x60], ebx
push ecx
push 0
push ebx
call fcn.0045eed0
mov ecx, dword [esi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [esi]
je 0x4240f2
nop dword [eax]
mov eax, dword [esi]
mov al, byte [edx + eax]
mov byte [edx + ebx], al
inc edx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp edx, eax
jb 0x4240e0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00444692
call fcn.0044571f
test al, al
je 0x424124
pop esi
push edx
pop esp
pop ebx
pop esp
pop ebx
push ebp
push eax
push edx
pop edx
pop esi
pop ecx
pop ecx
pop edx
pop eax
push edi
pop ecx
push ecx
push ebx
push eax
push esp
push edi
push ebp
pop esp
pop esi
push ebp
call fcn.00445d52
test al, al
je 0x42414a
push edx
push ecx
pop ecx
pop esp
push ecx
push ebx
push esp
pop esp
push esp
push edi
pop edx
push ebx
pop edi
push eax
pop edi
pop esp
pop eax
pop esi
push ecx
push ecx
pop esp
pop edi
pop ebp
push edx
pop esp
push ecx
push ebx
push ebp
pop edx
call fcn.004458bd
test al, al
je 0x42416b
push ebp
push esp
push ebx
push edi
push ecx
pop ecx
pop ebp
pop edx
push ebp
push edi
push edx
pop edi
pop esp
push edx
pop ecx
pop eax
push ebp
pop esp
pop ebx
pop ebx
pop esi
pop esi
push eax
pop esi
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x6c], 0
push ebx
call fcn.00446b50
mov eax, dword [ebp - 0x64]
add esp, 0x10
test eax, eax
jne 0x4241b3
push 0x8d
call fcn.00446500
add esp, 4
test ebx, ebx
je 0x4241cf
push ebx
call fcn.00436bef
add esp, 4
jmp 0x4241cf
mov esi, dword [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00424470
test ebx, ebx
je 0x4241cb
push ebx
call fcn.00436bef
add esp, 4
mov byte [esi + 0xc], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x424219
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x424210
test cl, 0x1f
je 0x4241ec
call fcn.00461cd1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4241f8
call fcn.00461cd1
sub ecx, eax
cmp ecx, 4
jae 0x424204
call fcn.00461cd1
cmp ecx, 0x23
jbe 0x42420e
call fcn.00461cd1
mov ecx, eax
push ecx
call fcn.0043690d
add esp, 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.00436912
mov esp, ebp
pop ebp
ret