Function at 0x43a480
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464c80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x5c
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00430b50
push 1
push 0x471f8c
lea ecx, [ebp + 8]
call fcn.004179c0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
cmp eax, 3
jl 0x43a5ae
test eax, eax
jge 0x43a4ea
push 0x80070057
call fcn.00403db0
movzx edx, word [ecx]
cmp dx, 0x61
jb 0x43a4f9
cmp dx, 0x7a
jbe 0x43a506
add edx, 0xffffffbf
cmp dx, 0x19
ja 0x43a5ae
cmp eax, 1
jge 0x43a515
push 0x80070057
call fcn.00403db0
movzx edx, word [ecx + 2]
cmp dx, 0x3a
je 0x43a558
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jge 0x43a567
push 0x80070057
call fcn.00403db0
movzx edx, word [ecx + 4]
movzx esi, dx
cmp si, 0x5c
je 0x43a5ae
cmp eax, 2
jge 0x43a583
push 0x80070057
call fcn.00403db0
movzx edx, dx
mov esi, 0x2f2f
cmp dx, si
je 0x43a5ae
lea ecx, [ebp + 8]
call fcn.0040ede0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
test eax, eax
jle 0x43a66e
test ebx, ebx
jl 0x43a4e0
cmp ebx, eax
jg 0x43a4e0
movzx eax, word [ecx + ebx*2]
cmp ax, 0x5c
jne 0x43a662
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.004178e0
mov esi, dword [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a63f
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x43a612
cmp eax, 0x50
je 0x43a612
cmp eax, 0xb7
jne 0x43a6aa
mov esi, dword [edi + 0x14]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
push esi
mov ecx, edi
call fcn.00438700
mov ecx, dword [ebp - 0x14]
push 1
mov edi, eax
call fcn.00438ca0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x10]
mov dword [eax], edi
mov edi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
inc ebx
cmp ebx, eax
jl 0x43a5b8
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a6d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
jmp 0x43a522