Function at 0x10052e60
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8817
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x138], 0
xor esi, esi
nop
mov dword [ebp - 0x158], 0x57adb790
mov dword [ebp - 0x154], 0xf663c064
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x160], 0xe96f22c0
mov dword [ebp - 0x15c], 0x3e6023b9
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x168], 0x57adebbf
mov dword [ebp - 0x164], 0xf663c064
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x170], 0xe96f22c0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x16c], 0x3e6023b9
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x16c]
movaps xmm1, xmmword [ebp - 0x150]
mov dword [ebp - 0x24], ecx
lea ecx, [esi + 1]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x150]
xorps xmm1, xmmword [ebp - 0x30]
lea edx, [esi + 1]
movaps xmmword [ebp - 0x150], xmm1
mov dword [ebp - 0x13c], ecx
mov al, byte [esi]
inc esi
test al, al
jne 0x10052f78
mov eax, dword [edi + 0x10]
sub esi, edx
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x140], edi
jbe 0x10052f9b
mov eax, dword [edi]
mov dword [ebp - 0x140], eax
mov eax, dword [edi + 0x10]
test esi, esi
je 0x10053016
cmp ecx, eax
jae 0x10053016
push 0x100
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.100817f0
lea ecx, [ebp - 0x150]
add esp, 0xc
mov edx, ecx
mov eax, ecx
add edx, esi
cmp eax, edx
je 0x10052fe0
nop dword [eax]
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x130], 1
cmp ecx, edx
jne 0x10052fd0
mov edx, dword [ebp - 0x140]
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp - 0x13c]
add ecx, edx
add esi, edx
cmp esi, ecx
jae 0x10053016
nop word [eax + eax]
movzx eax, byte [esi]
cmp byte [ebp + eax - 0x130], 0
jne 0x10053133
inc esi
cmp esi, ecx
jb 0x10053000
or esi, 0xffffffff
cmp dword [edi + 0x10], esi
mov ecx, esi
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
cmovb ecx, dword [edi + 0x10]
mov eax, edi
cmp dword [edi + 0x14], 0xf
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x174], 0
jbe 0x1005304a
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.10057c80
mov eax, dword [ebp - 0x138]
or eax, 2
or eax, 1
mov dword [ebp - 4], 0
cmp dword [ebp - 0x174], 0xf
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x188]
cmova eax, dword [ebp - 0x188]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100530ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x131], 1
cmp eax, 0xb7
jne 0x100530b2
mov byte [ebp - 0x131], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x13c]
test al, 1
je 0x1005311d
mov ecx, dword [ebp - 0x174]
and eax, 0xfffffffe
mov dword [ebp - 0x138], eax
cmp ecx, 0xf
jbe 0x10053102
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100530f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005315a
push ecx
push edx
call fcn.1007e593
add esp, 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
cmp byte [ebp - 0x131], 0
jne 0x1005313a
cmp esi, 0xffffffff
jne 0x10052eb0
mov al, 1
jmp 0x1005313c
sub esi, edx
jmp 0x10053019
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e2a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008eeed
int3