Function at 0x100ad810
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bfa23
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x1021e964]
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, ecx
mov eax, dword [ebp + 8]
shr eax, 0xe
and al, 1
je 0x100ada93
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.100a5000
mov esi, dword [ebp - 0x18]
mov eax, 0x92492493
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100ada33
mov eax, 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0x10010c40
mov byte [ebp - 4], 1
cmp edi, esi
je 0x100ad9ef
nop dword [eax]
push edi
lea ecx, [ebp - 0x12c]
call fcn.100a34e0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.100a3740
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 1
mov dword [ebp - 0x12c], 0x10010c38
cmp edx, 0x10
jb 0x100ad93f
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x100ad931
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100adb2d
push edx
push ecx
call fcn.1018d246
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100a3eb0
test al, al
jne 0x100ad9db
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x10012678
xor esi, 0x4000
movups xmmword [ebp - 0x30], xmm0
call fcn.100a34e0
mov dword [ebp - 0x20], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.100ad810
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], 0x10012678
test ecx, ecx
je 0x100ad9a5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x3c], 0x10010c38
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x100ad9c5
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.1004aa90
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
add edi, 0x1c
cmp edi, esi
jne 0x100ad8d0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0x10010c38
cmp eax, 0x10
jb 0x100ada33
mov ecx, dword [ebp - 0x58]
lea edx, [eax + 1]
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x100ada23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100adb2d
push edx
push ecx
call fcn.1018d246
mov esi, dword [ebp - 0x18]
add esp, 8
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 7
test edi, edi
je 0x100ada76
cmp edi, esi
je 0x100ada54
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x1c
cmp edi, esi
jne 0x100ada42
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.1004ad00
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.1018d760
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x100ada9e
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100ada76
push 0xac
lea ecx, [ebp - 0x108]
call fcn.1004a350
call fcn.100a2d00
push eax
call fcn.100a2d00
push eax
call fcn.100a2d00
push eax
call fcn.100a2d00
push eax
push 0x3ec
lea ecx, [ebp - 0x108]
call fcn.100a3480
mov dword [ebp - 4], 8
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x108]
call fcn.100ae1f0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x108]
call fcn.100a4ef0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.100a33e0
push 0x1020087c
lea eax, [ebp - 0x1d8]
push eax
call fcn.101a37e7
call fcn.100be3b4
int3