Function at 0x46de50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fa22
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4b0], 0
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00512450
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.0051d287
add esp, 0x18
lea eax, [ebp - 0x414]
lea ecx, [ebp - 0x42c]
push eax
call fcn.0044a0b0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x4b0], 1
call fcn.004530a0
add esp, 4
test al, al
je 0x46df0f
lea eax, [ebp - 0x414]
push eax
call fcn.00463160
add esp, 4
test eax, eax
jne 0x46df0f
mov bl, 1
jmp 0x46df11
xor bl, bl
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00403b60
test bl, bl
je 0x46e1b1
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x444]
call fcn.0044a0b0
push 0x5a8d74
push 0x44a920
push 0x5a8d70
mov byte [ebp - 4], 3
mov dword [ebp - 0x4a8], 0
call fcn.004f85df
add esp, 0xc
test eax, eax
je 0x46e345
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4a4], 0x5a8d74
push eax
lea eax, [ebp - 0x4b4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x444]
movlpd qword [ebp - 0x4b4], xmm0
push eax
call fcn.00452520
push 0x5a8d74
push 0x44a920
push 0x5a8d70
call fcn.004f85df
add esp, 0x18
test eax, eax
je 0x46e34a
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 4]
cmp eax, dword [0x5a8d78]
jne 0x46e34f
cmp dword [ebp - 0x4a8], 0
jne 0x46e34f
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.00403b60
lea eax, [ebp - 0x4a8]
push eax
call fcn.0047f470
mov edi, dword [ebp - 0x4a4]
add esp, 4
or esi, 0xffffffff
mov ebx, dword [eax]
test edi, edi
je 0x46e02a
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e02a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x46e02a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x46e0fc
lea eax, [ebp - 0x4a8]
push eax
call fcn.0047f470
add esp, 4
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
movq xmm0, qword [ebp - 0x420]
push 2
sub esp, 0xc
mov dword [eax], str.delete_AiSuiteSDK_folder_________________________.....
mov dword [eax + 4], 0x36
mov eax, esp
mov byte [ebp - 4], 5
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00471840
mov edi, dword [ebp - 0x4a4]
mov byte [ebp - 4], 2
test edi, edi
je 0x46e0b9
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e0b9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x46e0b9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x4a8]
push eax
call fcn.0047f470
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call fcn.0047ffe0
mov edi, dword [ebp - 0x4a4]
test edi, edi
je 0x46e0fc
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e0fc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x46e0fc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0
jmp 0x46e1b4
or esi, 0xffffffff
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x46e2e2
lea eax, [ebp - 0x41c]
push eax
call fcn.0047f470
mov edi, dword [ebp - 0x418]
add esp, 4
mov ebx, dword [eax]
test edi, edi
je 0x46e203
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e203
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x46e203
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x46e2d3
lea eax, [ebp - 0x41c]
push eax
call fcn.0047f470
mov ecx, dword [eax]
push ecx
mov eax, esp
mov dword [ebp - 0x4ac], 0
push 2
sub esp, 0xc
mov dword [ebp - 0x4a8], 0
movq xmm0, qword [ebp - 0x4ac]
mov dword [eax], str.create_AiSuiteSDK_folder_________________________.....
mov dword [eax + 4], 0x36
mov eax, esp
mov byte [ebp - 4], 0xa
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00471840
mov edi, dword [ebp - 0x418]
mov byte [ebp - 4], 0
test edi, edi
je 0x46e28d
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e28d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x46e28d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x41c]
push eax
call fcn.0047f470
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call fcn.0047ffe0
mov edi, dword [ebp - 0x418]
mov byte [ebp - 4], 0
test edi, edi
je 0x46e2d3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46e2d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x46e2d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x414]
push eax
call fcn.00463260
mov edx, dword [ebp + 0x1c]
add esp, 4
cmp edx, 8
jb 0x46e327
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e31d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e39c
push edx
push ecx
call fcn.004fa19d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret 0x18
call fcn.005230d4
call fcn.005230d4
push str.remove_all_p_:_invalid_argument
lea ecx, [ebp - 0x45c]
call fcn.00448270
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.00453360
add esp, 8
lea ecx, [ebp - 0x4a0]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x45c]
push eax
call fcn.0044c4c0
push 0x581104
lea eax, [ebp - 0x4a0]
push eax
call fcn.005118e1
call fcn.005159b3
int3