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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x43e24d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x43e833
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea edx, [ebp - 0x38]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x320]
mov eax, dword [ebp - 0x38]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov ecx, 0x43e848
pop eax
call fcn.0040d4f4
push 0
push 0x64
lea edx, [ebp - 0x3c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x328]
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
jne 0x43e30d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x158]
test al, al
jne 0x43e30d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
jne 0x43e30d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x43e30d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xe8]
test al, al
jne 0x43e30d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x43e3d0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x43e336
push 0
push 0x64
lea edx, [ebp - 0x40]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x330]
mov edx, dword [ebp - 0x40]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x64
lea edx, [ebp - 0x44]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x338]
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
jne 0x43e36d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x158]
test al, al
je 0x43e388
push 0
push 0x64
lea edx, [ebp - 0x48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x340]
mov edx, dword [ebp - 0x48]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 4], 0
je 0x43e3b5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x43e3b5
push 0
push 0x64
lea edx, [ebp - 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x350]
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, ebx
mov ecx, dword [eax]
call dword [ecx + 0x358]
mov edx, dword [ebp - 0x50]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp byte [ebp + 0x10], 0
je 0x43e3e1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x43e3fc
cmp byte [ebp + 0xc], 0
je 0x43e3ec
xor eax, eax
mov dword [ebp + 0x14], eax
mov cl, byte [ebp + 0xc]
xor cl, 1
mov eax, dword [esi]
mov edx, dword [ebp + 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [0x408804]
call fcn.004061b8
mov eax, dword [ebp + 0x1c]
mov edx, dword [0x408804]
call fcn.004061b8
mov eax, dword [ebp + 0x18]
mov edx, dword [0x408804]
call fcn.004061b8
lea eax, [ebp - 0xc]
mov edx, dword [0x408804]
call fcn.004061b8
lea eax, [ebp - 0x10]
mov edx, dword [0x408804]
call fcn.004061b8
lea eax, [ebp - 0x14]
mov edx, dword [0x408804]
call fcn.004061b8
cmp dword [ebp - 4], 0
je 0x43e7e3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x43e7e3
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x18]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.00430280
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.00404fa4
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x43e4c5
mov eax, dword [ebp - 0x24]
call fcn.004050f8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x43e4f7
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x43e7d7
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x24]
call fcn.00404a20
mov eax, dword [ebp - 0x58]
call fcn.00404c58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43e7d7
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.00405220
setne byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
je 0x43e753
mov eax, dword [ebp - 0xc]
call fcn.00405ee4
mov esi, eax
test esi, esi
jl 0x43e541
inc esi
xor ebx, ebx
mov edi, dword [0x532fc8]
mov edi, dword [edi]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0x2c]
call edi
test al, al
je 0x43e53d
mov byte [ebp - 0x1d], 0
jmp 0x43e541
inc ebx
dec esi
jne 0x43e520
cmp byte [ebp - 0x1d], 0
je 0x43e7d7
mov eax, dword [ebp - 0xc]
call fcn.00405edc
inc eax
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
mov eax, dword [ebp - 0xc]
call fcn.00405ee4
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x2c]
call fcn.00404f80
lea eax, [ebp - 0x10]
mov edx, dword [0x408804]
call fcn.004061b8
lea eax, [ebp - 0x14]
mov edx, dword [0x408804]
call fcn.004061b8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
sub esi, ebx
jl 0x43e666
inc esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x18]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
call fcn.00430280
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x24]
call fcn.00404fa4
mov eax, dword [ebp - 0xc]
call fcn.00405ee4
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + eax*4]
mov edi, dword [0x532fc8]
mov edi, dword [edi]
mov eax, dword [ebp - 0x2c]
call edi
test al, al
je 0x43e65e
mov edi, dword [ebp - 0x1c]
inc edi
push edi
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
push edi
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x24]
call fcn.00404f80
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x28]
call fcn.00404f80
inc dword [ebp - 0x1c]
inc ebx
dec esi
jne 0x43e5b9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x18]
lea eax, [ebp - 0x24]
call fcn.00430428
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.00405220
je 0x43e7d7
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405ee4
push eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.00405174
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.0041b5fc
test al, al
je 0x43e7d7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405edc
mov ebx, eax
lea esi, [ebx + 1]
push esi
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
push esi
mov eax, dword [ebp + 0x1c]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
push esi
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.00405174
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x2c]
call fcn.00404f80
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x2c]
call fcn.00404f80
jmp 0x43e7d7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405edc
mov ebx, eax
lea esi, [ebx + 1]
push esi
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
push esi
mov eax, dword [ebp + 0x1c]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
push esi
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov edx, dword [0x408804]
call fcn.00406098
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x24]
call fcn.00404f80
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x28]
call fcn.00404f80
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0x30]
call fcn.00404f80
inc dword [ebp - 0x18]
dec dword [ebp - 0x34]
jne 0x43e476
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e83a
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00404f5c
lea eax, [ebp - 0x58]
call fcn.00404788
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.00404f5c
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404f5c
lea eax, [ebp - 0x14]
mov edx, dword [0x408804]
mov ecx, 3
call fcn.004055ec
ret