Function at 0x47cd70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f6b2
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x5a4ca4]
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.00521d30
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.0052c857
add esp, 0x18
lea eax, [ebp - 0x414]
lea ecx, [ebp - 0x42c]
push eax
call fcn.00450f50
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x4b0], 1
call fcn.0045e850
add esp, 4
test al, al
je 0x47ce2f
lea eax, [ebp - 0x414]
push eax
call fcn.00472030
add esp, 4
test eax, eax
jne 0x47ce2f
mov bl, 1
jmp 0x47ce31
xor bl, bl
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00404720
test bl, bl
je 0x47d0d1
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x444]
call fcn.00450f50
push 0x5bde50
push 0x451780
push 0x5bde4c
mov byte [ebp - 4], 3
mov dword [ebp - 0x4a8], 0
call fcn.00507b8f
add esp, 0xc
test eax, eax
je 0x47d265
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4a4], 0x5bde50
push eax
lea eax, [ebp - 0x4b4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x444]
movlpd qword [ebp - 0x4b4], xmm0
push eax
call fcn.0045dca0
push 0x5bde50
push 0x451780
push 0x5bde4c
call fcn.00507b8f
add esp, 0x18
test eax, eax
je 0x47d26a
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 4]
cmp eax, dword [0x5bde54]
jne 0x47d26f
cmp dword [ebp - 0x4a8], 0
jne 0x47d26f
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.00404720
lea eax, [ebp - 0x4a8]
push eax
call fcn.0048e8e0
mov edi, dword [ebp - 0x4a4]
add esp, 4
or esi, 0xffffffff
mov ebx, dword [eax]
test edi, edi
je 0x47cf4a
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47cf4a
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x47cf4a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x47d01c
lea eax, [ebp - 0x4a8]
push eax
call fcn.0048e8e0
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.00480ce0
mov edi, dword [ebp - 0x4a4]
mov byte [ebp - 4], 2
test edi, edi
je 0x47cfd9
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47cfd9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x47cfd9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x4a8]
push eax
call fcn.0048e8e0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call fcn.0048f450
mov edi, dword [ebp - 0x4a4]
test edi, edi
je 0x47d01c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47d01c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x47d01c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0
jmp 0x47d0d4
or esi, 0xffffffff
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47d202
lea eax, [ebp - 0x41c]
push eax
call fcn.0048e8e0
mov edi, dword [ebp - 0x418]
add esp, 4
mov ebx, dword [eax]
test edi, edi
je 0x47d123
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47d123
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x47d123
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x47d1f3
lea eax, [ebp - 0x41c]
push eax
call fcn.0048e8e0
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.00480ce0
mov edi, dword [ebp - 0x418]
mov byte [ebp - 4], 0
test edi, edi
je 0x47d1ad
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47d1ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x47d1ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x41c]
push eax
call fcn.0048e8e0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call fcn.0048f450
mov edi, dword [ebp - 0x418]
mov byte [ebp - 4], 0
test edi, edi
je 0x47d1f3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x47d1f3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x47d1f3
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.00472130
mov edx, dword [ebp + 0x1c]
add esp, 4
cmp edx, 8
jb 0x47d247
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d23d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d2bc
push edx
push ecx
call fcn.0050974d
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.0050970c
mov esp, ebp
pop ebp
ret 0x18
call fcn.005326a5
call fcn.005326a5
push str.remove_all_p_:_invalid_argument
lea ecx, [ebp - 0x45c]
call fcn.0044f100
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 4
push 1
push eax
call fcn.0045eb30
add esp, 8
lea ecx, [ebp - 0x4a0]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x45c]
push eax
call fcn.004534b0
push 0x5955d4
lea eax, [ebp - 0x4a0]
push eax
call fcn.005211b7
call fcn.00524f8e
int3