Function at 0x4032f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45044f
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x476040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x88], esi
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x84], edi
cmp dword [edi + 0x14], 7
jbe 0x40333c
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403609
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str..bat
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00404650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
test ecx, ecx
je 0x403445
mov eax, dword [edi + 0x10]
cmp ecx, eax
ja 0x403445
sub eax, ecx
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmova eax, edx
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x28]
cmova ecx, edx
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x80], ecx
jbe 0x4033ba
mov ecx, dword [edi]
lea esi, [ecx + edx*2]
jmp 0x4033bf
lea esi, [edi + edx*2]
mov ecx, edi
mov edx, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x80]
lea edx, [ecx + edx*2]
mov ecx, esi
sub ecx, edx
mov dword [ebp - 0x7c], edx
xor ecx, eax
test ecx, 0xfffffffe
je 0x4033e6
mov esi, dword [ebp - 0x88]
xor al, al
mov edx, dword [ebp - 0x28]
jmp 0x403447
cmp edx, esi
je 0x40341f
sub dword [ebp - 0x80], edx
nop dword [eax]
movzx eax, word [edx]
push eax
call fcn.0043e5ca
mov ecx, dword [ebp - 0x80]
mov edi, eax
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + ecx]
push ecx
call fcn.0043e5ca
add esp, 8
cmp edi, eax
jne 0x403432
mov edx, dword [ebp - 0x7c]
add edx, 2
mov dword [ebp - 0x7c], edx
cmp edx, esi
jne 0x4033f0
mov edi, dword [ebp - 0x84]
mov al, 1
mov esi, dword [ebp - 0x88]
mov edx, dword [ebp - 0x28]
jmp 0x403447
mov edi, dword [ebp - 0x84]
xor al, al
mov esi, dword [ebp - 0x88]
mov edx, dword [ebp - 0x28]
jmp 0x403447
xor al, al
mov byte [ebp - 0x71], al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40348b
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40347e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403626
push ecx
push edx
call fcn.00434ce3
mov al, byte [ebp - 0x71]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
test al, al
je 0x4035d4
push edi
lea ecx, [ebp - 0x58]
call fcn.00404240
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call dword [0x45827c]
mov edi, dword [ebp - 0x88]
mov ecx, edi
call esi
test al, al
sete cl
mov byte [ebp - 0x84], cl
test al, al
je 0x4034f4
lea ecx, [ebp - 0x70]
call fcn.004037f0
mov byte [ebp - 4], 2
mov ecx, 1
jmp 0x40352c
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
mov ecx, 2
push dword [ebp - 0x84]
mov dword [ebp - 0x78], ecx
lea edx, [edi + 4]
push eax
lea eax, [edi + 0x1c]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00412530
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x78]
test al, 2
je 0x4035af
and eax, 0xfffffffd
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40359b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40358e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40362b
push ecx
push edx
call fcn.00434ce3
mov eax, dword [ebp - 0x78]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], 1
test al, 1
je 0x4035c8
and eax, 0xfffffffe
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
call fcn.00404310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
jmp 0x403604
lea ecx, [ebp - 0x70]
call fcn.004037f0
mov dword [ebp - 4], 4
lea edx, [esi + 4]
push 0
push eax
push dword [esi + 0x34]
lea eax, [esi + 0x1c]
mov ecx, edi
push eax
call fcn.00412530
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043488a
mov esp, ebp
pop ebp
ret 4
call fcn.0043e33e
call fcn.0043e33e
int3