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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4492db
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x465124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 0x18
mov dword [ebp - 0x10], edi
mov ecx, esp
push 0x465e7c
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b78c
xor bl, bl
jmp 0x40b792
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40b7c6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b7bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c689
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40b810
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b806
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c689
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40b85d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b853
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c689
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40b86d
push 1
push 0x45cb88
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x466464
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b8c6
xor bl, bl
jmp 0x40b8cc
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40b900
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b8f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c68e
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40b94a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b940
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c68e
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40b997
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b98d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c68e
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40b9a7
push 1
push 0x45cb8c
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x4661f4
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ba00
xor bl, bl
jmp 0x40ba06
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ba3a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c693
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40ba84
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c693
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40bad1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bac7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c693
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40bae1
push 1
push 0x45cb90
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x466940
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bb3a
xor bl, bl
jmp 0x40bb40
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40bb74
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c698
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40bbbe
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c698
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40bc0b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c698
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40bc1b
push 1
push 0x45cb94
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x466704
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 8
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bc74
xor bl, bl
jmp 0x40bc7a
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40bcae
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bca4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c69d
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40bcf8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bcee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c69d
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40bd45
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c69d
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40bd55
push 1
push 0x45cb98
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x465c54
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xa
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bdae
xor bl, bl
jmp 0x40bdb4
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40bde8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bdde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a2
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40be32
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a2
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40be7f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a2
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40be8f
push 1
push 0x45cb9c
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x465f9c
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xc
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bee8
xor bl, bl
jmp 0x40beee
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40bf22
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a7
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40bf6c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a7
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40bfb9
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6a7
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40bfc9
push 1
push 0x45cba0
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x466194
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xe
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c022
xor bl, bl
jmp 0x40c028
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40c05c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c052
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6ac
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40c0a6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c09c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6ac
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40c0f3
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6ac
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40c103
push 1
push 0x45cba4
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x465edc
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x10
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c15c
xor bl, bl
jmp 0x40c162
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40c196
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c18c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b1
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40c1e0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b1
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40c22d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b1
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40c23d
push 1
push 0x45cba8
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x466104
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x12
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c296
xor bl, bl
jmp 0x40c29c
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40c2d0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b6
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40c31a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c310
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b6
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40c367
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c35d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6b6
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40c377
push 2
push 0x45cbf4
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x46629c
call fcn.00423120
lea ecx, [ebp - 0x58]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x14
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.00425520
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c3d0
xor bl, bl
jmp 0x40c3d6
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40c40a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c400
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6bb
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40c454
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c44a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6bb
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40c4a1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6bb
push edx
push ecx
call fcn.00429e16
add esp, 8
test bl, bl
je 0x40c4b1
push 2
push 0x45cbf8
jmp 0x40c657
sub esp, 0x18
mov ecx, esp
push 0x4666bc
call fcn.00423120
lea ecx, [ebp - 0xa0]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x16
call fcn.0040a270
push esi
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x17
call fcn.00425520
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c510
xor bl, bl
jmp 0x40c516
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x40c54a
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c540
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6c0
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x40c597
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c58d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6c0
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x40c5ed
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6c0
push edx
push ecx
call fcn.00429e16
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
test bl, bl
je 0x40c615
push 2
push 0x45cbfc
jmp 0x40c657
call fcn.004093d0
cmp eax, 1
je 0x40c650
call fcn.004093d0
cmp eax, 2
je 0x40c650
call fcn.004093d0
cmp eax, 0x10
je 0x40c650
call fcn.004093d0
cmp eax, 0x11
je 0x40c650
call fcn.004093d0
cmp eax, 0x12
je 0x40c650
push 1
push str.0123456789
jmp 0x40c657
push 2
push 0x45cc00
mov dword [edi], 0
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00424030
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
int3