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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x43ebb9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00408840
mov eax, dword [ebp - 8]
call fcn.00408840
xor eax, eax
push ebp
push 0x43f1c4
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2b8]
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov ecx, 0x43f1e0
pop eax
call fcn.0040b6a4
push 0
push 0x64
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c0]
mov edx, dword [ebp - 0x40]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x43ec68
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x43ec68
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43ed7d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
je 0x43ec93
push 0
push 0x64
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c8]
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x64
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2d0]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x43eccd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
je 0x43ed08
push 0
push 0xc8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2d8]
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x64
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2e0]
mov edx, dword [ebp - 0x50]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43ed33
push 0
push 0x64
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2e8]
mov edx, dword [ebp - 0x54]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x43ed61
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x43ed61
push 0
push 0x64
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2f0]
mov edx, dword [ebp - 0x58]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x64
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2f8]
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp + 0x10], 0
je 0x43ed8f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x43eda7
test bl, bl
je 0x43ed98
xor eax, eax
mov dword [ebp + 0x14], eax
mov ecx, ebx
xor cl, 1
mov eax, dword [esi]
mov edx, dword [ebp + 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 0x28]
mov edx, dword [0x40b7a4]
call fcn.00407ff0
mov eax, dword [ebp + 0x1c]
mov edx, dword [0x40b7a4]
call fcn.00407ff0
mov eax, dword [ebp + 0x18]
mov edx, dword [0x40b7a4]
call fcn.00407ff0
lea eax, [ebp - 0xc]
mov edx, dword [0x40b7d0]
call fcn.00407ff0
lea eax, [ebp - 0x10]
mov edx, dword [0x40b7d0]
call fcn.00407ff0
lea eax, [ebp - 0x14]
mov edx, dword [0x40b7d0]
call fcn.00407ff0
cmp dword [ebp - 8], 0
je 0x43f169
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x43f169
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x18]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x18]
call fcn.0043062c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18]
call fcn.00405958
mov eax, dword [ebp - 0x18]
call fcn.00405f64
push eax
call fcn.004096d4
cmp eax, 0xffffffff
je 0x43f15d
cmp dword [ebp - 0x20], 0
setne byte [ebp - 0x31]
cmp byte [ebp - 0x31], 0
je 0x43f0d9
mov eax, dword [ebp - 0xc]
call fcn.00407d10
mov esi, eax
test esi, esi
jl 0x43eeb7
inc esi
xor ebx, ebx
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + ebx*4]
mov ecx, 0
call fcn.0040698c
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x20]
call fcn.0040c204
test al, al
je 0x43eeb3
mov byte [ebp - 0x31], 0
jmp 0x43eeb7
inc ebx
dec esi
jne 0x43ee8b
cmp byte [ebp - 0x31], 0
je 0x43f15d
mov eax, dword [ebp - 0xc]
call fcn.00407d08
inc eax
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x40b7d0]
call fcn.00407ed0
add esp, 4
mov eax, dword [ebp - 0xc]
call fcn.00407d10
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x20]
call fcn.00406964
lea eax, [ebp - 0x10]
mov edx, dword [0x40b7d0]
call fcn.00407ff0
lea eax, [ebp - 0x14]
mov edx, dword [0x40b7d0]
call fcn.00407ff0
xor eax, eax
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
sub esi, ebx
jl 0x43efe7
inc esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x18]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x18]
call fcn.0043062c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x18]
call fcn.00405958
mov eax, dword [ebp - 0xc]
call fcn.00407d10
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x6c]
mov ecx, 0
call fcn.0040698c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
call fcn.0040c204
test al, al
je 0x43efdf
mov edi, dword [ebp - 0x30]
inc edi
push edi
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x40b7d0]
call fcn.00407ed0
add esp, 4
push edi
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x40b7d0]
call fcn.00407ed0
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
call fcn.00406964
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x1c]
call fcn.00406964
inc dword [ebp - 0x30]
inc ebx
dec esi
jne 0x43ef2f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x18]
lea eax, [ebp - 0x18]
call fcn.004307f0
cmp dword [ebp - 0x18], 0
je 0x43f15d
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407d10
push eax
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00405cec
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
call fcn.00406964
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.00412d6c
test al, al
je 0x43f15d
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
call fcn.00407d08
mov ebx, eax
lea esi, [ebx + 1]
push esi
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
push esi
mov eax, dword [ebp + 0x1c]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
push esi
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00405cec
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x20]
call fcn.004058fc
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x20]
call fcn.004058fc
jmp 0x43f15d
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
call fcn.00407d08
mov ebx, eax
lea esi, [ebx + 1]
push esi
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
push esi
mov eax, dword [ebp + 0x1c]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
push esi
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov edx, dword [0x40b7a4]
call fcn.00407ed0
add esp, 4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x18]
call fcn.004058fc
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x1c]
call fcn.004058fc
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x24]
call fcn.004058fc
inc dword [ebp - 0x2c]
dec dword [ebp - 0x38]
jne 0x43ee21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f1cb
lea eax, [ebp - 0x74]
call fcn.004058a8
lea eax, [ebp - 0x70]
call fcn.00406738
lea eax, [ebp - 0x6c]
mov edx, 0xd
call fcn.004058cc
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004058cc
lea eax, [ebp - 0x14]
mov edx, dword [0x40b7d0]
mov ecx, 3
call fcn.00407228
lea eax, [ebp - 8]
call fcn.004087cc
lea eax, [ebp - 4]
call fcn.004087cc
ret