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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48afec
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x4f0]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43d5ae
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
push ecx
lea esi, [edi + 0x140]
push 2
mov ecx, esi
mov dword [esp + 0x500], 0
call fcn.00413c40
add esp, 8
test eax, eax
jne 0x43d658
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x43d5fc
mov edx, dword [esi]
push edx
push 0x49d820
lea eax, [esp + 0x20]
push eax
jmp 0x43d622
cmp eax, 2
jne 0x43d610
mov ecx, dword [esi]
push ecx
push 0x49d850
lea edx, [esp + 0x20]
push edx
jmp 0x43d622
cmp eax, 3
jne 0x43d62e
mov eax, dword [esi]
push eax
push 0x49d888
lea ecx, [esp + 0x20]
push ecx
call fcn.004067e0
mov ebx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x30
push ebx
call fcn.0044f968
lea eax, [ebx - 0x10]
mov dword [esp + 0x4f8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x43d79e
mov eax, dword [esi]
push 0
push eax
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
jne 0x43d6f0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43d688
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x4f8], 1
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x18]
push 0x49d8f4
push edx
call fcn.004067e0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push 0x30
push esi
call fcn.0044f968
lea eax, [esi - 0x10]
mov byte [esp + 0x4f8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43d783
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43d702
test al, 0x10
jne 0x43d747
push 0x497fc0
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00406070
add esp, 0xc
push 0
mov byte [esp + 0x4fc], 2
mov eax, dword [eax]
push 0
push eax
call fcn.0044f968
mov byte [esp + 0x4f8], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x43d6db
mov ecx, dword [edi + 0x74]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
call fcn.00445330
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f8], 3
call fcn.00451b98
push edi
call fcn.0043cdc0
call fcn.0043d340
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4f8], 0
call fcn.00445530
lea eax, [ebx - 0x10]
mov dword [esp + 0x4f8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d7aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret