Function at 0x41b82b
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x47321b
call fcn.00465b54
sub esp, 0xec
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call fcn.00408e99
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
cmp esi, eax
ja 0x41b879
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.00408e99
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], 1
test byte [ebp - 0x10], 1
je 0x41b88a
lea ecx, [ebp - 0xb0]
call fcn.00407f77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00407f77
inc esi
push 1
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.00409f26
cmp eax, 0xffffffff
je 0x41b956
mov edi, 0x47b4b8
mov esi, 0x47b4b0
lea ebx, [eax + 1]
lea eax, [ebp + 0x17]
push 0
push eax
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], esi
call fcn.00405b83
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0040650f
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41b90e
test al, 0x10
je 0x41b90e
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b928
push dword [ebp - 0x10]
jmp 0x41b923
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41b965
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
call 0x41b9a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00407f77
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 0x5c
lea ecx, [eax + 4]
call fcn.00409f26
cmp eax, 0xffffffff
jne 0x41b8c3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp + 0xb]
push 0
push eax
lea ecx, [ebp - 0x60]
push dword [ebp - 0x10]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], esi
call fcn.004059b3
lea eax, [ebp - 0x60]
push 1
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
call fcn.00408b81
lea eax, [ebp - 0xf8]
push 0x47fc68
push eax
call fcn.00465b73
mov eax, 0x473298
call fcn.00465b54
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
cmp eax, ebx
je 0x41bbe7
push 5
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 1
call fcn.0041c5cd
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x20], 1
sub esp, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esp
mov esi, esp
push dword [ebp + 8]
mov word [esi], 8
call fcn.00465576
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x41ba0e
cmp dword [ebp + 8], ebx
je 0x41ba0e
push 0x8007000e
call fcn.0046552a
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041a3d0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 1
call esi
cmp eax, ebx
jge 0x41ba44
push eax
call fcn.0046552a
sub esp, 0x10
mov eax, esp
mov dword [ebp + 8], esp
or word [eax + 8], 0xffff
mov word [eax], 0xb
lea eax, [ebp - 0x3c]
push 3
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041a3d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call esi
cmp eax, ebx
jge 0x41ba87
push eax
call fcn.0046552a
mov al, byte [edi + 4]
sub esp, 0x10
neg al
mov ecx, esp
mov dword [ebp + 8], esp
sbb eax, eax
mov word [ecx], 0xb
mov word [ecx + 8], ax
lea eax, [ebp - 0x3c]
push 4
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0041a3d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call esi
cmp eax, ebx
jge 0x41bad0
push eax
call fcn.0046552a
sub esp, 0x10
mov edi, esp
mov dword [ebp + 8], esp
push 0x49b2bc
mov word [edi], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [edi + 8], eax
jne 0x41bb02
mov eax, 0x49b2bc
test eax, eax
je 0x41bb02
push 0x8007000e
call fcn.0046552a
lea eax, [ebp - 0x3c]
push 1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0041a3d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call esi
cmp eax, ebx
jge 0x41bb33
push eax
call fcn.0046552a
sub esp, 0x10
mov eax, esp
mov dword [ebp + 8], esp
mov word [eax], 0xb
mov word [eax + 8], bx
lea eax, [ebp - 0x3c]
push 2
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0041a3d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call esi
cmp eax, ebx
jge 0x41bb75
push eax
call fcn.0046552a
mov edi, dword [ebp - 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 8], esp
mov al, byte [edi + 5]
neg al
sbb eax, eax
mov word [ecx], 0xb
mov word [ecx + 8], ax
lea eax, [ebp - 0x3c]
push 5
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0041a3b4
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0041a3d0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call esi
cmp eax, ebx
jge 0x41bbc1
push eax
call fcn.0046552a
mov edi, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0041a813
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041a813
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4