Function at 0x41db60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434616
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.0042d400
mov eax, dword [0x4430a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
je 0x41de92
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp cx, word [eax]
jne 0x41dbaf
push str.DirectoryExists:_empty_path
jmp 0x41de97
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41dbc3
test al, 0x10
jne 0x41de77
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1010]
inc eax
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0x800
mov dword [ebp - 0x1024], ecx
lea ecx, [ebp - 0x101c]
mov dword [ebp - 4], 0
cmp eax, 0x800
jbe 0x41dc23
push dword [ebp - 0x1020]
push dword [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00411760
jmp 0x41dc36
push dword [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00411540
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
lea eax, [esi + eax*2]
mov edi, eax
mov dword [ebp - 0x1020], eax
sub edi, esi
sar edi, 1
cmp edi, dword [ebp - 0x1014]
jbe 0x41dce8
cmp edi, 0x3fffffff
ja 0x41deb3
lea eax, [edi + edi]
push eax
call fcn.0042d3a2
mov ecx, dword [ebp - 0x101c]
add esp, 4
mov dword [ebp - 0x1024], eax
test ecx, ecx
je 0x41dca9
lea edx, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
cmp edx, ecx
je 0x41dca9
push ecx
call fcn.0042d42d
mov eax, dword [ebp - 0x1024]
add esp, 4
push eax
push dword [ebp - 0x1020]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x101c]
push esi
push eax
mov dword [ebp - 0x1014], edi
mov dword [ebp - 0x1018], 0
call fcn.00411fa0
sub eax, dword [ebp - 0x1024]
add esp, 0x10
mov edi, dword [ebp - 0x1018]
sar eax, 1
add edi, eax
jmp 0x41dd51
mov ecx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
cmp ecx, edi
jae 0x41dd33
test ecx, ecx
je 0x41dd1b
mov edx, ecx
mov cx, word [esi]
add esi, 2
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x41dd04
mov ecx, dword [ebp - 0x1020]
push eax
mov eax, edi
sub eax, ecx
push eax
lea eax, [ebp - 0x101c]
push esi
push eax
call fcn.00411fd0
add esp, 0x10
jmp 0x41dd51
mov edx, edi
test edi, edi
je 0x41dd57
nop dword [eax]
mov cx, word [esi]
lea esi, [esi + 2]
mov word [eax], cx
lea eax, [eax + 2]
sub edx, 1
jne 0x41dd40
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x1020], 0
cmp edi, dword [ebp - 0x1014]
jae 0x41dd90
lea ecx, [eax + edi*2]
test ecx, ecx
je 0x41dd87
xor eax, eax
mov word [ecx], ax
mov edi, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x101c]
inc edi
mov dword [ebp - 0x1018], edi
jmp 0x41ddcd
push dword [ebp - 0x1020]
lea eax, [eax + edi*2]
mov dword [ebp - 0x1024], eax
lea ecx, [ebp - 0x101c]
lea eax, [ebp - 0x1020]
push eax
push 1
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1030]
push eax
call fcn.00411640
mov edi, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x101c]
test edi, edi
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], eax
lea ecx, [ebp - 0x102c]
lea edx, [ebp - 0x1028]
lea edi, [eax + edi*2]
jne 0x41ddf2
mov edi, eax
add edi, 0xfffffffe
cmp eax, edi
je 0x41de5b
nop dword [eax]
mov esi, eax
cmp eax, edi
je 0x41de4e
cmp word [esi], 0x5c
je 0x41de13
add esi, 2
cmp esi, edi
jne 0x41de06
cmp eax, esi
je 0x41de4e
push ecx
mov dword [ebp - 0x1034], ecx
mov ecx, esp
push ecx
mov dword [ebp - 0x1030], edx
mov dword [ecx], esi
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1034]
call fcn.0041cd80
test al, al
je 0x41de55
cmp esi, edi
je 0x41de55
mov eax, esi
lea ecx, [ebp - 0x102c]
lea edx, [ebp - 0x1028]
add eax, 2
cmp eax, edi
jne 0x41de00
mov eax, dword [ebp - 0x101c]
cmp dword [ebp - 0x1014], 0
je 0x41de77
lea ecx, [ebp - 0x1010]
cmp ecx, eax
je 0x41de77
push eax
call fcn.0042d42d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d3e0
mov esp, ebp
pop ebp
ret
push str.DirectoryCreateRecursively:_empty_path
lea ecx, [ebp - 0x1038]
call fcn.0041aa00
push 0x43fb94
lea eax, [ebp - 0x1038]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.get_next_capacity__allocators_max_size_reached
call fcn.0042af80
int3