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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449640
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x462014]
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 0x462c54
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x4099c2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4099d4
xor bl, bl
jmp 0x4099da
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x409a0e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a867
push edx
push ecx
call fcn.0041d6b3
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 0x409a58
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a867
push edx
push ecx
call fcn.0041d6b3
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 0x409aa5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a867
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x409ab5
push 1
push 0x458dd0
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x463224
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x409af7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409b09
xor bl, bl
jmp 0x409b0f
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409b43
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86c
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x409b8d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86c
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x409bda
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409bd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86c
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x409bea
push 1
push 0x458dd4
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462fcc
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x409c2c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409c3e
xor bl, bl
jmp 0x409c44
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409c78
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a871
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x409cc2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409cb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a871
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x409d0f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409d05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a871
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x409d1f
push 1
push 0x458dd8
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x4636a0
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x409d61
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409d73
xor bl, bl
jmp 0x409d79
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409dad
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a876
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x409df7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409ded
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a876
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x409e44
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a876
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x409e54
push 1
push 0x458ddc
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x4634ac
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 8
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x409e96
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409ea8
xor bl, bl
jmp 0x409eae
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409ee2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a87b
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x409f2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a87b
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x409f79
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a87b
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x409f89
push 1
push 0x458de0
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462a2c
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xa
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x409fcb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409fdd
xor bl, bl
jmp 0x409fe3
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a017
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a00d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a880
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a061
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a057
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a880
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a0ae
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a880
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a0be
push 1
push 0x458de4
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462d5c
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xc
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a100
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a112
xor bl, bl
jmp 0x40a118
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a14c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a885
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a196
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a18c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a885
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a1e3
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a885
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a1f3
push 1
push 0x458de8
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462f6c
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xe
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a235
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a247
xor bl, bl
jmp 0x40a24d
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a281
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88a
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a2cb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88a
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a318
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a30e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88a
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a328
push 1
push 0x458dec
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462cb4
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x10
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a36a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a37c
xor bl, bl
jmp 0x40a382
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a3b6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a400
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a44d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a443
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a88f
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a45d
push 1
push 0x458df0
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x462edc
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a49f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a4b1
xor bl, bl
jmp 0x40a4b7
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a4eb
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a894
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a535
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a52b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a894
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a582
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a578
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a894
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a592
push 2
push 0x458e3c
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x463074
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x14
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a5d4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a5e6
xor bl, bl
jmp 0x40a5ec
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a620
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a616
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a899
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a66a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a899
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a6b7
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a899
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a6c7
push 2
push 0x458e40
jmp 0x40a83b
sub esp, 0x18
mov ecx, esp
push 0x46344c
call fcn.00417a50
lea ecx, [ebp - 0x58]
call fcn.00405960
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x16
call fcn.00408a80
push esi
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x40]
call fcn.00418270
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40a709
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a71b
xor bl, bl
jmp 0x40a721
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40a755
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a74b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a89e
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x40a79f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a795
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a89e
push edx
push ecx
call fcn.0041d6b3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a7ec
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a89e
push edx
push ecx
call fcn.0041d6b3
add esp, 8
test bl, bl
je 0x40a7f9
push 2
push 0x458e44
jmp 0x40a83b
call fcn.00407c80
cmp eax, 1
je 0x40a834
call fcn.00407c80
cmp eax, 2
je 0x40a834
call fcn.00407c80
cmp eax, 0x10
je 0x40a834
call fcn.00407c80
cmp eax, 0x11
je 0x40a834
call fcn.00407c80
cmp eax, 0x12
je 0x40a834
push 1
push str.0123456789
jmp 0x40a83b
push 2
push 0x458e48
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00418110
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.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
call fcn.00436cca
int3