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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd10
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x482024]
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 0x482ca4
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40b902
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40b914
xor bl, bl
jmp 0x40b91a
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40b94e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b944
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7a7
push edx
push ecx
call fcn.0042aa8a
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 0x40b998
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b98e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7a7
push edx
push ecx
call fcn.0042aa8a
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 0x40b9e5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7a7
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40b9f5
push 1
push 0x476870
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x48325c
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40ba37
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ba49
xor bl, bl
jmp 0x40ba4f
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40ba83
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ac
push edx
push ecx
call fcn.0042aa8a
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 0x40bacd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bac3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ac
push edx
push ecx
call fcn.0042aa8a
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 0x40bb1a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bb10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ac
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40bb2a
push 1
push 0x476874
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x483004
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40bb6c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bb7e
xor bl, bl
jmp 0x40bb84
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40bbb8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b1
push edx
push ecx
call fcn.0042aa8a
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 0x40bc02
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b1
push edx
push ecx
call fcn.0042aa8a
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 0x40bc4f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b1
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40bc5f
push 1
push 0x476878
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x4836f0
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40bca1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bcb3
xor bl, bl
jmp 0x40bcb9
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40bced
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bce3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b6
push edx
push ecx
call fcn.0042aa8a
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 0x40bd37
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b6
push edx
push ecx
call fcn.0042aa8a
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 0x40bd84
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7b6
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40bd94
push 1
push 0x47687c
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x4834cc
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 8
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40bdd6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bde8
xor bl, bl
jmp 0x40bdee
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40be22
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7bb
push edx
push ecx
call fcn.0042aa8a
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 0x40be6c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7bb
push edx
push ecx
call fcn.0042aa8a
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 0x40beb9
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40beaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7bb
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40bec9
push 1
push 0x476880
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x482a7c
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xa
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40bf0b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bf1d
xor bl, bl
jmp 0x40bf23
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40bf57
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c0
push edx
push ecx
call fcn.0042aa8a
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 0x40bfa1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bf97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c0
push edx
push ecx
call fcn.0042aa8a
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 0x40bfee
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bfe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c0
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40bffe
push 1
push 0x476884
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x482dac
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xc
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c040
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c052
xor bl, bl
jmp 0x40c058
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c08c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c5
push edx
push ecx
call fcn.0042aa8a
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 0x40c0d6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c5
push edx
push ecx
call fcn.0042aa8a
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 0x40c123
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7c5
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c133
push 1
push 0x476888
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x482fa4
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xe
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c175
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c187
xor bl, bl
jmp 0x40c18d
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c1c1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ca
push edx
push ecx
call fcn.0042aa8a
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 0x40c20b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c201
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ca
push edx
push ecx
call fcn.0042aa8a
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 0x40c258
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c24e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7ca
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c268
push 1
push 0x47688c
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x482d04
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x10
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c2aa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c2bc
xor bl, bl
jmp 0x40c2c2
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c2f6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7cf
push edx
push ecx
call fcn.0042aa8a
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 0x40c340
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7cf
push edx
push ecx
call fcn.0042aa8a
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 0x40c38d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c383
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7cf
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c39d
push 1
push 0x476890
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x482f14
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x12
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c3df
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c3f1
xor bl, bl
jmp 0x40c3f7
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c42b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c421
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d4
push edx
push ecx
call fcn.0042aa8a
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 0x40c475
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c46b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d4
push edx
push ecx
call fcn.0042aa8a
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 0x40c4c2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c4b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d4
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c4d2
push 2
push 0x4768dc
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x4830ac
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x14
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c514
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c526
xor bl, bl
jmp 0x40c52c
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c560
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d9
push edx
push ecx
call fcn.0042aa8a
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 0x40c5aa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d9
push edx
push ecx
call fcn.0042aa8a
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 0x40c5f7
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7d9
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c607
push 2
push 0x4768e0
jmp 0x40c77b
sub esp, 0x18
mov ecx, esp
push 0x483484
call fcn.00423100
lea ecx, [ebp - 0x58]
call fcn.004064c0
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x16
call fcn.0040a410
push esi
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x40]
call fcn.004246d0
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x40c649
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c65b
xor bl, bl
jmp 0x40c661
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40c695
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c68b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7de
push edx
push ecx
call fcn.0042aa8a
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 0x40c6df
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c6d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7de
push edx
push ecx
call fcn.0042aa8a
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 0x40c72c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7de
push edx
push ecx
call fcn.0042aa8a
add esp, 8
test bl, bl
je 0x40c739
push 2
push 0x4768e4
jmp 0x40c77b
call fcn.00409590
cmp eax, 1
je 0x40c774
call fcn.00409590
cmp eax, 2
je 0x40c774
call fcn.00409590
cmp eax, 0x10
je 0x40c774
call fcn.00409590
cmp eax, 0x11
je 0x40c774
call fcn.00409590
cmp eax, 0x12
je 0x40c774
push 1
push str.0123456789
jmp 0x40c77b
push 2
push 0x4768e8
mov dword [edi + 0x10], 0
mov ecx, edi
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.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
call fcn.004458bc
int3