Function at 0x4068f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c93
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x630198]
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 dword [ebp - 0x68], ebx
mov eax, dword [ebx]
or eax, dword [ebx + 4]
push 0
jne 0x40695c
call fcn.0044b407
mov ecx, dword [ebx + 8]
add esp, 4
shl ecx, 4
sub ecx, dword [ebx + 8]
shl ecx, 2
dec ebx
or cl, al
loope 0x406942
mov dword [ebx], eax
mov dword [ebx + 4], edx
test ecx, ecx
jle 0x406969
push ecx
push 0
call fcn.0042970f
cdq
add esp, 8
add dword [ebx], eax
adc dword [ebx + 4], edx
jmp 0x406969
call fcn.0044b407
add esp, 4
mov dword [ebx], eax
mov dword [ebx + 4], edx
call fcn.004266e3
test al, al
je 0x406990
jl 0x40693b
and dword [esi], edx
inc ebx
add al, byte [ecx - 0x48350eb4]
sbb byte [edx + 0x26d3e3d6], bl
push 0xffffffffffffffe7
xor bl, byte [ecx + 0x6f19d5dd]
mov dword [ebx + ecx*4 - 0x3fcc67a3], 0xfd445c7
add byte [eax], al
add byte [edx - 1], ch
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, [ebx + 0x110]
push 0
push eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00401dc0
cmp dword [ebx + 0x128], 0
mov dword [ebp - 4], 0
je 0x406ac2
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.0042a717
mov ecx, dword [ebx + 0x128]
add esp, 8
push 0
call fcn.004039e0
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 0x406a95
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 0x406a45
mov eax, dword [ecx]
jmp 0x406a47
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00401ff0
call fcn.00427a8a
mov dword [ebp - 0x60], eax
add esp, 0x1c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x406a7c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x406bd1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x406aae
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], 0
je 0x406bd1
push 0x1869f
push 0x2710
call fcn.0042970f
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
push 1
push 0x5a9a30
call fcn.00406e50
push 5
push str.c251f
lea ecx, [ebp - 0x40]
call fcn.00406e50
push 1
push 0x5a9a3c
lea ecx, [ebp - 0x40]
call fcn.00406e50
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00428cf5
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00406d50
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x406b48
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402210
lea ecx, [ebp - 0xa4]
call fcn.0043fdd2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00440242
lea ecx, [ebp - 0xa4]
call fcn.00440611
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.0043c562
mov ecx, dword [ebp - 0x5c]
mov edi, eax
inc ecx
mov dword [ebp - 0x60], edi
push ecx
push 0
push edi
call fcn.00447ad0
mov ecx, dword [esi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [esi]
je 0x406bc2
mov eax, dword [esi]
mov al, byte [edx + eax]
mov byte [edx + edi], al
inc edx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp edx, eax
jb 0x406bb0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.0043fe48
pop esp
invalid
call fcn.00426545
test al, al
je 0x406bec
xor al, 0x2d
add byte [edi - 0x4896aeb5], dh
jg 0x406c00
cmp edx, ebp
dec esi
stosd dword es:[edi], eax
xchg edi, eax
int3
call fcn.00426209
test al, al
je 0x406c10
sal byte [ebx + ebx - 0x3e], 9
push es
mov dword [0x926dbf52], eax
sbb al, 0x2f
xchg ebp, eax
ret 0x609
cmc
jg 0x406c1a
jne 0x406c7a
or eax, 0x338d7f2e
jbe 0x406bc4
fdiv qword [ecx]
pop eax
pop ss
call fcn.00426209
test al, al
je 0x406c34
sahf
fistp qword [ebp - 0x4abf3531]
jb 0x406bf2
pop esp
insb byte es:[edi], dx
pop ss
aaa
pop ds
popal
mov ah, 0x75
pushal
xor al, 0xe
mov ah, byte [esp + ecx*8]
xchg esi, eax
push edx
dec edi
adc eax, 0x8da05d8b
inc ebp
nop
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x70], 0
push ebx
call fcn.00440661
mov eax, dword [ebp - 0x64]
add esp, 0x10
test eax, eax
jne 0x406c7c
push 0x8d
call fcn.0042b688
add esp, 4
test ebx, ebx
je 0x406c98
push ebx
call fcn.0043c56b
add esp, 4
jmp 0x406c98
mov esi, dword [ebp - 0x68]
mov ecx, esi
push eax
call fcn.004064f0
test ebx, ebx
je 0x406c94
push ebx
call fcn.0043c56b
add esp, 4
mov byte [esi + 0xc], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x406ce2
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x406cd9
test cl, 0x1f
je 0x406cb5
call fcn.0044a551
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406cc1
call fcn.0044a551
sub ecx, eax
cmp ecx, 4
jae 0x406ccd
call fcn.0044a551
cmp ecx, 0x23
jbe 0x406cd7
call fcn.0044a551
mov ecx, eax
push ecx
call fcn.0043c2d6
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.0043c551
mov esp, ebp
pop ebp
ret