Function at 0x100ab8d
Capabilities:
Create directory

Disassembly:
mov eax, 0x107fc8c
call fcn.0105c800
sub esp, 0x44
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
jne 0x100abae
call fcn.0100ca34
mov dword [ebp + 8], eax
test byte [ebp + 8], 0x40
je 0x100abcb
push edi
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0100bb99
push 1
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0100bb99
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x14]
mov ebx, 0x10867d8
push eax
push ebx
call fcn.01011e40
test al, al
je 0x100abe8
xor al, al
jmp 0x100ae94
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0100c94f
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], edi
call fcn.01009915
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test al, al
jne 0x100ac15
push 0
lea ecx, [ebp - 0x44]
call fcn.0100972d
push eax
call edi
lea ecx, [ebp - 0x44]
call fcn.0100972d
push eax
mov ecx, esi
call fcn.0100b289
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.0100c8ff
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.01009915
test al, al
jne 0x100ac4d
push 0
lea ecx, [ebp - 0x38]
call fcn.0100972d
push eax
call edi
lea ecx, [ebp - 0x38]
call fcn.0100972d
push eax
mov ecx, esi
call fcn.0100b289
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0100c99f
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0100972d
push eax
mov ecx, esi
call fcn.0100b289
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.010095e5
mov ecx, dword [esi + 4]
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0100b289
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.01001190
push 0x404
lea ecx, [ebp - 0x2c]
call fcn.0100943b
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0100c99f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.01009915
test al, al
je 0x100ad02
lea ecx, [ebp - 0x2c]
call fcn.0100972d
push eax
lea ecx, [ebp - 0x20]
call fcn.01009871
test al, al
jne 0x100ad02
push 0x2710
lea ecx, [ebp - 0x20]
call fcn.0100972d
push eax
mov ecx, esi
call fcn.0100cda9
push 1
lea ecx, [ebp - 0x2c]
pop edi
mov dword [ebp - 0x10], edi
call fcn.0100972d
push eax
lea ecx, [ebp - 0x20]
call fcn.01009871
test al, al
jne 0x100ad3e
push 0
lea ecx, [ebp - 0x20]
call fcn.0100972d
push eax
lea ecx, [ebp - 0x2c]
call fcn.01009ca7
movzx eax, al
test eax, eax
mov dword [ebp - 0x10], eax
je 0x100ae5b
test byte [ebp + 8], 0x80
jne 0x100ad74
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0100c99f
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0100972d
mov ecx, dword [esi + 4]
push eax
push 0x10867cc
call fcn.01011c48
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.010095e5
lea ecx, [ebp - 0x2c]
call fcn.0100972d
mov ecx, dword [esi + 4]
push eax
push str.restartoldexe
call fcn.01011c48
mov ecx, dword [esi + 4]
push edi
push ebx
call fcn.01011d76
mov ecx, dword [esi + 4]
push edi
push 0x10867e4
call fcn.01011d76
push dword [ebp + 8]
mov ecx, dword [esi + 4]
push str.restartflags
call fcn.01011d76
cmp dword [esi + 0x2c], 0
jbe 0x100ae3f
mov eax, dword [0x1098824]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x24]
mov byte [ebp - 4], 8
mov edi, dword [eax]
cmp edi, eax
je 0x100ae2b
lea eax, [edi + 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.01008a01
lea eax, [edi + 0x10]
lea ecx, [ebp + 8]
push eax
call fcn.01008a01
push dword [ebp + 8]
mov ecx, dword [esi + 4]
push dword [ebp + 0xc]
call fcn.01011c48
mov ecx, dword [edi + 8]
mov eax, dword [0x10a41f0]
cmp ecx, eax
je 0x100ae10
mov edi, ecx
mov ecx, dword [edi]
cmp ecx, eax
jne 0x100ae06
jmp 0x100ae26
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x100ae1f
mov edi, eax
mov eax, dword [eax + 4]
jmp 0x100ae13
cmp dword [edi + 8], eax
je 0x100ae26
mov edi, eax
cmp edi, dword [esi + 0x24]
jne 0x100add4
lea ecx, [ebp + 8]
call fcn.01001190
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.01001190
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.0100c11b
test al, al
je 0x100ae5b
push 0
mov ecx, esi
call fcn.0100bfbf
cmp dword [ebp - 0x10], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
setne bl
call fcn.010095e5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.010095e5
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.010095e5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.010095e5
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8