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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472550
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, 0xf
xor edi, edi
mov eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41b370
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00407360
mov dword [esp + 0x58], edi
push edi
push 0x485a03
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
call fcn.00407360
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
jb 0x41b546
mov esi, edx
cmp edx, edi
je 0x41b3e4
mov eax, edx
cmp ecx, 0x10
jae 0x41b3cb
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41b3e4
mov eax, edx
cmp ecx, 0x10
jae 0x41b3da
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add edi, eax
cmp esi, edi
jbe 0x41b3f1
call fcn.0043c5fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ebx, esi
mov eax, edx
cmp ecx, 0x10
jae 0x41b3fe
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
lea esi, [eax + edi]
test esi, esi
je 0x41b429
mov eax, edx
cmp ecx, 0x10
jae 0x41b414
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41b429
mov eax, edx
cmp ecx, 0x10
jae 0x41b423
lea eax, [esp + 0x14]
add eax, edi
cmp esi, eax
jbe 0x41b436
call fcn.0043c5fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp ebx, esi
je 0x41b58e
lea eax, [esp + 0x10]
mov esi, 0x10
cmp eax, 0xfffffffc
je 0x41b46d
mov eax, edx
cmp ecx, esi
jae 0x41b456
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41b46d
call fcn.0043c5fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x5c
je 0x41b4a1
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b49c
mov eax, edx
cmp ecx, esi
jae 0x41b485
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41b49c
call fcn.0043c5fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x2f
jne 0x41b4de
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x41b4af
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b4d6
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x41b4c9
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41b54f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b500
mov eax, edx
cmp ecx, esi
jae 0x41b4f1
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp ebx, eax
jb 0x41b500
call fcn.0043c5fa
movzx edx, byte [ebx]
push edx
lea edi, [esp + 0x30]
call fcn.0040d3d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b540
mov eax, edx
cmp ecx, 0x10
jae 0x41b529
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x24]
add eax, esi
cmp ebx, eax
jb 0x41b540
call fcn.0043c5fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc ebx
jmp 0x41b3f3
lea esi, [esp + 0x14]
jmp 0x41b3c0
cmp dword [esp + 0x44], esi
jb 0x41b562
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041d58d
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x28], esi
jb 0x41b58a
mov edx, dword [esp + 0x14]
push edx
call fcn.0041d58d
add esp, 4
xor al, al
jmp 0x41b5cf
cmp dword [esp + 0x44], 0x10
jb 0x41b5aa
mov eax, dword [esp + 0x30]
push eax
call fcn.0041d58d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp ecx, 0x10
jb 0x41b5cd
push edx
call fcn.0041d58d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043bc1b
mov esp, ebp
pop ebp
ret