Function at 0x463150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f438
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6359c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x63532c]
cmp eax, dword [ecx + 4]
jg 0x4633bb
cmp byte [0x635328], 0
jne 0x463392
lea eax, [ebp - 0x48]
mov byte [0x635328], 1
push eax
call fcn.00463400
add esp, 4
cmp dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
je 0x46335b
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b7220
add esp, 8
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
je 0x46332e
lea eax, [ebp - 0x28]
xor bl, bl
push 0
push eax
call fcn.004303e0
add esp, 8
test al, al
je 0x46330a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
jne 0x46322a
push 0x5e4908
lea ecx, [ebp - 0x28]
call fcn.00439a10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.drwtsn32.exe
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x463271
push eax
push str.drwtsn32.exe
lea eax, [ebp - 0x7c]
push 0x29
push eax
call fcn.00447330
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00410e40
lea ecx, [ebp - 0x7c]
call fcn.0040a580
jmp 0x46330a
lea ecx, [ebp - 0x64]
call fcn.0049d660
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0049d9a0
test al, al
je 0x4632fa
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movlpd qword [ebp - 0x30], xmm0
call fcn.0049d600
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x7c]
push 1
push eax
call fcn.004b70c0
add esp, 0xc
mov bl, al
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4632de
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0049d690
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0049d6e0
test bl, bl
je 0x46332e
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 0x46332e
lea eax, [ebp - 0x28]
mov ecx, 0x62c718
push eax
call fcn.0042f8d0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x463347
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], 7
cmp eax, 8
jb 0x463377
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xffffffff
push 0x62c718
mov ecx, esi
call fcn.0040b170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
push 0x63532c
call fcn.0040b37e
add esp, 4
cmp dword [0x63532c], 0xffffffff
jne 0x4631a0
push 0x5af800
call fcn.004060ec
push 0x63532c
call fcn.0040b56b
add esp, 8
jmp 0x4631a0