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

Disassembly:
push 0xffffffffffffffff
push 0x49f730
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4de6d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de6d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 0xf
mov eax, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41b370
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004074c0
mov dword [esp + 0x58], ebx
push ebx
push 0x4cf3cf
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004074c0
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
jb 0x41b547
mov esi, edx
cmp edx, ebx
je 0x41b3e3
mov eax, edx
cmp ecx, 0x10
jae 0x41b3ca
lea eax, [esp + 0x18]
cmp eax, esi
ja 0x41b3e3
mov eax, edx
cmp ecx, 0x10
jae 0x41b3d9
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x28]
add edi, eax
cmp esi, edi
jbe 0x41b3f0
call fcn.0043c3e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ebp, esi
mov eax, edx
cmp ecx, 0x10
jae 0x41b3fd
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x28]
lea esi, [eax + edi]
cmp esi, ebx
je 0x41b428
mov eax, edx
cmp ecx, 0x10
jae 0x41b413
lea eax, [esp + 0x18]
cmp eax, esi
ja 0x41b428
mov eax, edx
cmp ecx, 0x10
jae 0x41b422
lea eax, [esp + 0x18]
add eax, edi
cmp esi, eax
jbe 0x41b435
call fcn.0043c3e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ebp, esi
je 0x41b58a
lea eax, [esp + 0x14]
mov esi, 0x10
cmp eax, 0xfffffffc
je 0x41b46c
mov eax, edx
cmp ecx, esi
jae 0x41b455
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x28]
add eax, edi
cmp ebp, eax
jb 0x41b46c
call fcn.0043c3e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebp], 0x5c
je 0x41b4a2
lea eax, [esp + 0x14]
cmp eax, 0xfffffffc
je 0x41b49c
mov eax, edx
cmp ecx, esi
jae 0x41b485
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x28]
add eax, edi
cmp ebp, eax
jb 0x41b49c
call fcn.0043c3e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebp], 0x2f
jne 0x41b4de
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x41b4b0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b4d6
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x41b4ca
lea eax, [esp + 0x34]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41b550
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
cmp eax, 0xfffffffc
je 0x41b500
mov eax, edx
cmp ecx, esi
jae 0x41b4f1
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, ecx
cmp ebp, eax
jb 0x41b500
call fcn.0043c3e7
movzx edx, byte [ebp]
push edx
lea edi, [esp + 0x34]
call fcn.0040d060
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
cmp eax, 0xfffffffc
je 0x41b541
mov eax, edx
cmp ecx, 0x10
jae 0x41b52a
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x28]
add eax, esi
cmp ebp, eax
jb 0x41b541
call fcn.0043c3e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc ebp
jmp 0x41b3f2
lea esi, [esp + 0x18]
jmp 0x41b3bf
cmp dword [esp + 0x48], esi
jb 0x41b563
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041d512
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], esi
jb 0x41b586
mov edx, dword [esp + 0x18]
push edx
call fcn.0041d512
add esp, 4
xor al, al
jmp 0x41b5c6
cmp dword [esp + 0x48], 0x10
jb 0x41b5a6
mov eax, dword [esp + 0x34]
push eax
call fcn.0041d512
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp ecx, 0x10
jb 0x41b5c4
push edx
call fcn.0041d512
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043ba5f
add esp, 0x48
ret