Function at 0x41bbf0
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54dc68
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5a68a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x38]
call fcn.00420633
mov dword [esp + 0x70], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41bc40
push eax
lea ecx, [esp + 0x3c]
call fcn.0042097d
mov eax, dword [esi + 8]
test eax, eax
je 0x41bc51
push eax
lea ecx, [esp + 0x3c]
call fcn.0042097d
mov esi, dword [esi + 0xc]
test esi, esi
je 0x41bc62
push esi
lea ecx, [esp + 0x3c]
call fcn.0042097d
cmp byte [0x5af33c], 0
je 0x41bcbb
lea eax, [esp + 0x18]
push eax
call fcn.004013e0
add esp, 4
push 0xd
push 0x57e27c
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.0040a2f0
lea edi, [esp + 0x18]
call fcn.00403e40
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bcbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00415d50
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ebx, ecx
cmp eax, ecx
jbe 0x41bce0
call fcn.0051dd07
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov edi, eax
cmp eax, ecx
jbe 0x41bcef
call fcn.0051dd07
mov edx, dword [esp + 0x4c]
push ebx
push esi
push edi
push edx
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x60]
call fcn.0040b440
mov ecx, esi
mov byte [esp + 0x70], 2
call fcn.0040ac20
mov ecx, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x20], eax
jg 0x41bd84
lea eax, [esp + 0x4c]
call fcn.0040ae60
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x41bd3b
push eax
call fcn.0041ebbb
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0041ebbb
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 0xffffffff
call fcn.0042085f
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
cmp eax, ebx
jl 0x41c0e2
cmp eax, ecx
jge 0x41c0e2
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], ebx
lea ecx, [esi + 0xc]
jl 0x41bdc1
cmp eax, dword [esi]
jne 0x41bdc1
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41bdfc
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
je 0x41c0dd
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0051c861
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x2c], edi
push 0x57e170
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.0040ab30
mov byte [esp + 0x70], 4
cmp byte [0x5af33c], 0
mov dword [esp + 0x14], ebx
jne 0x41be57
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push ecx
lea ebx, [edi - 0x10]
mov dword [esp + 0x3c], esp
mov esi, esp
push ebx
call fcn.0040a450
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x58]
call fcn.0040af60
test al, al
jne 0x41becb
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push ecx
lea ebx, [edi - 0x10]
mov dword [esp + 0x3c], esp
mov esi, esp
push ebx
call fcn.0040a450
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004103c0
test al, al
je 0x41becb
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x78], 5
mov dword [esp + 0x1c], esp
mov esi, esp
push ebx
call fcn.0040a450
add esp, 4
add eax, 0x10
lea edx, [esp + 0x54]
mov dword [esi], eax
push edx
mov ecx, edi
mov byte [esp + 0x7c], 4
call fcn.0040b070
jmp 0x41becf
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x41c07e
push ecx
mov dword [esp + 0x34], esp
mov esi, esp
push ebx
call fcn.0040a450
lea ecx, [esp + 0x24]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004011d0
add esp, 8
mov byte [esp + 0x70], 6
cmp byte [0x5af33c], 0
jne 0x41bf2b
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x41bf2b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41bf2b
test al, 0x10
je 0x41c059
push 0x57e170
lea ecx, [esp + 0x1c]
call fcn.0040ab30
mov byte [esp + 0x70], 7
test edi, edi
jne 0x41bf92
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040a450
add esp, 4
lea edx, [esp + 0x28]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0041c0f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 8
call fcn.0040a4c0
mov byte [esp + 0x70], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41bfe5
cmp edi, 1
jne 0x41bff1
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040a450
add esp, 4
lea ecx, [esp + 0x2c]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0041c2e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 9
call fcn.0040a4c0
mov byte [esp + 0x70], 7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bff1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x78], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x78], 7
call fcn.0040fd20
mov byte [esp + 0x70], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c059
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c07e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0c1
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
inc eax
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x41bd80
jmp 0x41bd21
call fcn.0040f810
call fcn.0041f5a0
int3