Function at 0x41acc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44fbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x44]
push ecx
push edx
push eax
push str._s_s_d._s
lea edi, [esp + 0x34]
call fcn.004018c0
mov ecx, dword [esp + 0x34]
add esp, 0x14
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41af0f
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], 1
test ebx, ebx
jne 0x41ad62
xor eax, eax
jmp 0x41ad70
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ad67
sub eax, edx
mov edi, eax
push ebx
lea eax, [esp + 0x20]
call fcn.00408f80
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x41ad90
mov esi, 1
jmp 0x41aee8
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x28]
lea edi, [esi + 0x50]
push edx
mov byte [esp + 0x54], 2
call fcn.00417d70
mov esi, dword [esp + 0x24]
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
test esi, esi
je 0x41adcf
cmp esi, eax
je 0x41add4
call fcn.00424b46
cmp dword [esp + 0x28], ebx
je 0x41ae0e
test esi, esi
jne 0x41ae0a
call fcn.00424b46
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x18]
jne 0x41adf1
call fcn.00424b46
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x10]
lea eax, [esp + 0x18]
call fcn.00404e80
mov ebp, dword [esp + 0x18]
jmp 0x41aeaf
mov esi, dword [esi]
jmp 0x41ade3
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x32
or eax, ecx
jge 0x41ae32
mov ecx, 0x32
lea eax, [esp + 0x18]
call fcn.00405c90
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ebx, ebp
call fcn.00414f70
lea esi, [esp + 0x18]
mov ebx, eax
call fcn.0041b3c0
test ebx, ebx
je 0x41aeaf
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00409010
mov edx, dword [esp + 0x58]
add eax, 0x10
mov dword [esi], eax
push edx
lea esi, [esp + 0x34]
call fcn.0041b400
add esp, 8
mov byte [esp + 0x4c], 3
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.00411a70
lea eax, [esp + 0x24]
push eax
push edi
lea ebx, [esp + 0x3c]
mov byte [esp + 0x54], 4
call fcn.00417c70
lea eax, [esp + 0x24]
call fcn.00417c50
mov eax, esi
call fcn.00417c50
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.00425ff2
xor edx, edx
add esp, 8
test eax, eax
sete dl
add ebp, 0xfffffff0
mov byte [esp + 0x4c], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
mov esi, edx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41aee8
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x4c], 0
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 0x41af11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41af11
xor esi, esi
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4