Function at 0x41be90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a236
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41becb
xor eax, eax
jmp 0x41c152
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x41bee0
mov eax, 1
jmp 0x41c152
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], 0
push 0
push eax
call fcn.0043fa60
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00446478
xor edi, edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x23c], edi
add esp, 0x18
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x41c077
nop
cmp edi, dword [ebp + 0xc]
jge 0x41c06b
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bf80
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004017c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], esi
je 0x41bfec
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov edx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x248], esi
jmp 0x41c017
lea eax, [ebp - 0x230]
push eax
push esi
lea ecx, [ebp - 0x24c]
call fcn.0041c640
mov eax, dword [ebp - 0x244]
mov esi, dword [ebp - 0x248]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x41c055
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c04b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c16f
push edx
push ecx
call fcn.0043dbf3
add esp, 8
lea eax, [ebp - 0x218]
inc edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x41bf50
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], edi
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
dec ecx
add ecx, edx
mov dword [ebp - 0x238], ecx
js 0x41c0f8
lea eax, [ecx + ecx*2]
xor esi, esi
lea edi, [edi + eax*8]
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41c0aa
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41c0d2
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41c0bf
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov eax, 1
cmovne esi, eax
mov ecx, dword [ebp - 0x238]
sub edi, 0x18
dec ecx
mov dword [ebp - 0x238], ecx
test ecx, ecx
jns 0x41c0a0
mov edi, dword [ebp - 0x23c]
mov dword [ebp - 0x240], esi
mov esi, dword [ebp - 0x248]
test edi, edi
je 0x41c14c
push ecx
mov edx, esi
mov ecx, edi
call fcn.0041c960
mov ecx, dword [ebp - 0x234]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41c142
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c16f
push ecx
push edi
call fcn.0043dbf3
add esp, 8
mov eax, dword [ebp - 0x240]
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.0043dbb2
mov esp, ebp
pop ebp
ret 8
call fcn.004420bc
int3