Function at 0x52d180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x700724
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
lea edx, [ebp - 0x3c]
mov word [ebp - 0x1e], ax
xor ecx, ecx
push edx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x22], ecx
mov word [ebp - 0x24], cx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x34]
push 8
push edx
call fcn.0060fbd3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0x10]
push str._I64u
push edx
call fcn.00405ab0
lea edx, [ebp - 0x244]
add esp, 0x20
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x52d220
lea eax, [ebp - 0x244]
add eax, 0xfffffffe
jmp 0x52d240
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x52d240
mov ecx, dword [str.Data]
mov edx, dword [0x67a948]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [eax], ecx
mov ecx, dword [0x67a94c]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x244]
push edx
mov dword [eax + 8], ecx
call ebx
lea edi, [ebp - 0x244]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52d280
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, str.Last
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52d2a0
lea edi, [ebp - 0x244]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52d2b6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x244]
push ecx
call ebx
lea edi, [ebp - 0x244]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52d2e6
mov edx, dword [0x66ea40]
mov eax, str.AppIconCache
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52d301
lea edi, [ebp - 0x244]
sub eax, edx
add edi, 0xfffffffe
jmp 0x52d320
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52d320
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x244]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea edi, [ebp - 0x244]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52d350
mov ecx, dword [0x66ea40]
mov eax, dword [ebp - 0x10]
mov dword [edi], ecx
mov esi, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52d370
lea edi, [ebp - 0x244]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52d386
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [ebp - 0x244]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call ebx
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x65c]
push 0x67a4ac
push eax
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x14]
push str._s_s._s
push edx
call fcn.00405ab0
mov esi, dword [ebp - 0x14]
add esp, 0x14
push 0
push ecx
mov edi, esp
add esi, 0xfffffff0
mov dword [ebp - 0x18], esp
push esi
mov dword [ebp - 0x1c], edi
call fcn.004011f0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx], eax
test eax, eax
je 0x52d421
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.0052cfe0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x52d44d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52d473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4