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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472450
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 0x41b320
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004072b0
mov dword [esp + 0x58], edi
push edi
push 0x4859e3
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
call fcn.004072b0
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
jb 0x41b4f6
mov esi, edx
cmp edx, edi
je 0x41b394
mov eax, edx
cmp ecx, 0x10
jae 0x41b37b
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41b394
mov eax, edx
cmp ecx, 0x10
jae 0x41b38a
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add edi, eax
cmp esi, edi
jbe 0x41b3a1
call fcn.0043c51f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ebx, esi
mov eax, edx
cmp ecx, 0x10
jae 0x41b3ae
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
lea esi, [eax + edi]
test esi, esi
je 0x41b3d9
mov eax, edx
cmp ecx, 0x10
jae 0x41b3c4
lea eax, [esp + 0x14]
cmp eax, esi
ja 0x41b3d9
mov eax, edx
cmp ecx, 0x10
jae 0x41b3d3
lea eax, [esp + 0x14]
add eax, edi
cmp esi, eax
jbe 0x41b3e6
call fcn.0043c51f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp ebx, esi
je 0x41b53e
lea eax, [esp + 0x10]
mov esi, 0x10
cmp eax, 0xfffffffc
je 0x41b41d
mov eax, edx
cmp ecx, esi
jae 0x41b406
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41b41d
call fcn.0043c51f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x5c
je 0x41b451
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b44c
mov eax, edx
cmp ecx, esi
jae 0x41b435
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
cmp ebx, eax
jb 0x41b44c
call fcn.0043c51f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx], 0x2f
jne 0x41b48e
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x41b45f
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41b486
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x41b479
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41b4ff
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b4b0
mov eax, edx
cmp ecx, esi
jae 0x41b4a1
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp ebx, eax
jb 0x41b4b0
call fcn.0043c51f
movzx edx, byte [ebx]
push edx
lea edi, [esp + 0x30]
call fcn.0040d090
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
cmp eax, 0xfffffffc
je 0x41b4f0
mov eax, edx
cmp ecx, 0x10
jae 0x41b4d9
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x24]
add eax, esi
cmp ebx, eax
jb 0x41b4f0
call fcn.0043c51f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc ebx
jmp 0x41b3a3
lea esi, [esp + 0x14]
jmp 0x41b370
cmp dword [esp + 0x44], esi
jb 0x41b512
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041d532
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x28], esi
jb 0x41b53a
mov edx, dword [esp + 0x14]
push edx
call fcn.0041d532
add esp, 4
xor al, al
jmp 0x41b57f
cmp dword [esp + 0x44], 0x10
jb 0x41b55a
mov eax, dword [esp + 0x30]
push eax
call fcn.0041d532
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 0x41b57d
push edx
call fcn.0041d532
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.0043bb40
mov esp, ebp
pop ebp
ret