Function at 0x426530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a98ad
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x620330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x224], 0
call fcn.0040b040
push 0xb8
lea eax, [ebp - 0x1d4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0056fef0
add esp, 8
lea ecx, [ebp - 0x1d4]
call fcn.004273c0
push 0xa8
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0056fef0
add esp, 8
lea ecx, [ebp - 0x11c]
call fcn.00427fd0
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebx], 0
jne 0x4265e7
xor ecx, ecx
jmp 0x4265ff
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x1d8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4265f2
sub ecx, dword [ebp - 0x1d8]
push ecx
push ebx
mov ecx, edx
call fcn.00404b60
lea ecx, [ebp - 0x2c]
call fcn.00426340
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426636
test al, 0x10
jne 0x426710
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.00424ee0
test eax, eax
je 0x426710
lea eax, [ebp - 0x2c]
mov edx, 0x5f702c
push eax
lea ecx, [ebp - 0x208]
call fcn.004080d0
add esp, 4
push 0x5f7024
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.00405a60
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x4266b3
cmp dword [ebp - 0x5c], 0x10
jb 0x426698
push dword [ebp - 0x70]
call fcn.00446271
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404510
cmp dword [ebp - 0x1dc], 0x10
jb 0x4266ca
push dword [ebp - 0x1f0]
call fcn.00446271
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1f4], 0x10
mov dword [ebp - 0x1dc], 0xf
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x1f0], 0
jb 0x426700
push dword [ebp - 0x208]
call fcn.00446271
add esp, 4
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x3c], 3
jmp 0x426bf4
push 0x40
push 0x21
push edi
lea ecx, [ebp - 0x1c4]
call fcn.004283f0
test eax, eax
lea ecx, [ebp - 0x1d4]
mov eax, dword [ebp - 0x1d4]
mov edx, 4
mov eax, dword [eax + 4]
jne 0x42674a
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426754
or eax, edx
jmp 0x426754
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00404250
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1c8], 6
je 0x42699d
lea ecx, [ebp - 0x1c4]
call fcn.004284b0
test eax, eax
jne 0x4267aa
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4267a2
or eax, 4
push 0
push eax
call fcn.00404250
lea ecx, [ebp - 0x118]
call fcn.004284b0
test eax, eax
jne 0x4267e1
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4267d9
or eax, 4
push 0
push eax
call fcn.00404250
cmp byte [edi], 0
mov dword [ebp - 0x1dc], 0xf
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x1f0], 0
jne 0x426805
xor ecx, ecx
jmp 0x426819
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426810
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x1f0]
call fcn.00404b60
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 5
push eax
mov edx, 0x5f7058
lea ecx, [ebp - 0x208]
call fcn.004059d0
add esp, 4
push 0x5f7024
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x220]
call fcn.00405a60
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x426892
cmp dword [ebp - 0x5c], 0x10
jb 0x426877
push dword [ebp - 0x70]
call fcn.00446271
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404510
cmp dword [ebp - 0x20c], 0x10
jb 0x4268a9
push dword [ebp - 0x220]
call fcn.00446271
add esp, 4
cmp dword [ebp - 0x1f4], 0x10
mov dword [ebp - 0x20c], 0xf
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x220], 0
jb 0x4268db
push dword [ebp - 0x208]
call fcn.00446271
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1dc], 0x10
mov dword [ebp - 0x1f4], 0xf
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 0x208], 0
jb 0x426911
push dword [ebp - 0x1f0]
call fcn.00446271
add esp, 4
lea eax, [ebp - 0x74]
mov byte [ebp - 0x74], 0
push eax
mov ecx, esi
mov dword [ebp - 0x3c], 1
call fcn.0040eae0
cmp dword [ebp - 0x18], 0x10
jb 0x426938
push dword [ebp - 0x2c]
call fcn.00446271
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00426160
lea ecx, [ebp - 0x1d4]
call fcn.00425220
cmp dword [ebp - 0x44], 0x10
jb 0x426971
push dword [ebp - 0x58]
call fcn.00446271
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x426c40
push dword [ebp - 0x70]
call fcn.00446271
add esp, 4
jmp 0x426c40
push 0x40
push 0x22
push ebx
lea ecx, [ebp - 0x118]
call fcn.004283f0
test eax, eax
lea ecx, [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
jne 0x4269d3
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4269e2
or eax, 4
jmp 0x4269e2
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00404250
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x110], 6
je 0x426b70
lea ecx, [ebp - 0x118]
call fcn.004284b0
test eax, eax
jne 0x426a38
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426a30
or eax, 4
push 0
push eax
call fcn.00404250
lea ecx, [ebp - 0x1c4]
call fcn.004284b0
test eax, eax
jne 0x426a6f
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426a67
or eax, 4
push 0
push eax
call fcn.00404250
push ebx
lea ecx, [ebp - 0x1f0]
call fcn.004043f0
push eax
mov edx, 0x5f7060
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x220]
call fcn.004059d0
add esp, 4
push 0x5f7024
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x208]
call fcn.00405a60
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x426ae1
cmp dword [ebp - 0x5c], 0x10
jb 0x426ac6
push dword [ebp - 0x70]
call fcn.00446271
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00404510
cmp dword [ebp - 0x1f4], 0x10
jb 0x426af8
push dword [ebp - 0x208]
call fcn.00446271
add esp, 4
cmp dword [ebp - 0x20c], 0x10
mov dword [ebp - 0x1f4], 0xf
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 0x208], 0
jb 0x426b2a
push dword [ebp - 0x220]
call fcn.00446271
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1dc], 0x10
mov dword [ebp - 0x20c], 0xf
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x220], 0
jb 0x426b60
push dword [ebp - 0x1f0]
call fcn.00446271
add esp, 4
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x3c], 2
jmp 0x426bf4
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00427010
lea ecx, [ebp - 0x118]
call fcn.004284b0
test eax, eax
jne 0x426bb9
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426bb1
or eax, 4
push 0
push eax
call fcn.00404250
lea ecx, [ebp - 0x1c4]
call fcn.004284b0
test eax, eax
jne 0x426bf0
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426be8
or eax, 4
push 0
push eax
call fcn.00404250
mov byte [ebp - 0x74], 1
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.0040eae0
cmp dword [ebp - 0x18], 0x10
jb 0x426c10
push dword [ebp - 0x2c]
call fcn.00446271
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00426160
lea ecx, [ebp - 0x1d4]
call fcn.00425220
lea ecx, [ebp - 0x74]
call fcn.00406690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056bc07
mov esp, ebp
pop ebp
ret