Function at 0x1001b8bf
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100683ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001ba8a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], 0x1d77
cmp dword [ebp - 0x90], 0x10ea
jge 0x1001ba38
lea eax, [ebp - 0x28]
push eax
push 0x10007ed4
call fcn.1004f52b
pop ecx
pop ecx
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0xe0]
call fcn.1002a4c6
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
push dword [ebp - 0x78]
push dword [ebp - 0x28]
lea ecx, [ebp - 0xa8]
call fcn.1002b1df
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.1002a563
mov dword [ebp - 0x2c], 1
jmp 0x1001b972
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
jge 0x1001b9cf
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x100080d4
call fcn.1004f52b
add esp, 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xa8]
call fcn.1002a824
mov ecx, eax
call fcn.1002a571
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0xa8]
call fcn.1002a824
mov ecx, eax
call fcn.1002a571
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x1001b96b
and dword [ebp - 0x60], 0
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x13]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.1002a89a
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
call fcn.1001b7c6
add esp, 0x14
push dword [ebp - 0x60]
push 0x10007ee4
call fcn.1004fe4e
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.1002a8fb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1002a81f
lea eax, [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1001ba76
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x1001ba74
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1001ba85
push 0
push 0x1feb
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
jmp 0x1001bd08
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x18], 0xde713a47
mov dword [ebp - 0x1c], 0x3244d513
mov dword [ebp - 0x6c], 0xffffffff
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002a48a
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0
jmp 0x1001bacf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1001bae2
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x20], 0xb6069300
jmp 0x1001bac8
mov dword [ebp - 0x10], 0
jmp 0x1001baf2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1001bb0e
push dword [ebp - 0x10]
lea ecx, [ebp - 0xbc]
call fcn.1002a571
mov dword [eax], 0xfffffffc
jmp 0x1001baeb
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1001bb2c
push 0
push 0x1e82
push 0xd3a
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jl 0x1001bb3d
mov dword [ebp - 0x30], 1
jmp 0x1001bb41
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x20], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jle 0x1001bb5f
mov dword [ebp - 0x48], 1
jmp 0x1001bb63
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
jne 0x1001bb83
mov eax, 0x7dcd
test eax, eax
jne 0x1001bb83
and dword [ebp - 0x8c], 0
jmp 0x1001bb8d
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x1c], 0
je 0x1001bc85
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x20]
mov dword [ebp - 0x58], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x20], ecx
cmp dword [ebp - 0x58], 0
je 0x1001bc34
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
ja 0x1001bc07
cmp dword [ebp - 0x24], 0
jne 0x1001bc07
and dword [ebp - 0x38], 0
jmp 0x1001bc0e
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x38], eax
jg 0x1001bc1f
mov dword [ebp - 0x3c], 1
jmp 0x1001bc23
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x3c], eax
jle 0x1001bc34
mov dword [ebp - 0x44], 1
jmp 0x1001bc38
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x2aba
jle 0x1001bc4a
mov dword [ebp - 0x4c], 1
jmp 0x1001bc4e
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], eax
je 0x1001bc62
cmp dword [ebp - 0x24], 0
jne 0x1001bc62
and dword [ebp - 0x54], 0
jmp 0x1001bc69
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001bc83
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001bcdf
mov dword [ebp - 0x94], 0xfff7
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
xor eax, eax
sub eax, dword [ebp - 0x84]
jne 0x1001bcb5
mov dword [ebp - 0x34], 1
jmp 0x1001bcb9
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x6c], 0x6ff52912
jl 0x1001bccb
mov dword [ebp - 0x64], 1
jmp 0x1001bccf
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x64]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1002a563
push dword [ebp - 0x74]
push 0x17b9
push 0
push 0x6e0a
push dword [ebp - 0x7c]
call fcn.1002283c
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret