Function at 0x109f919
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
lea eax, [ebp - 0x18]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x68], eax
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x60], eax
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x58], eax
push esi
lea eax, [ebp - 0x24]
push edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x78]
push eax
push 6
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x74], 0x10026d8
mov dword [ebp - 0x6c], 0x10026c0
mov dword [ebp - 0x64], 0x1002624
mov dword [ebp - 0x5c], 0x1002688
mov dword [ebp - 0x54], 0x1002674
mov dword [ebp - 0x4c], 0x101e2f8
mov dword [ebp - 8], ebx
call fcn.0109d28b
mov esi, eax
cmp esi, ebx
je 0x109f9bb
push esi
push 0x42b0197
jmp 0x109fc02
cmp dword [ebp + 8], ebx
jne 0x109f9d0
mov esi, 0x80070057
push esi
push 0x4300197
jmp 0x109fc02
cmp dword [ebp + 0x14], ebx
jne 0x109f9db
lea eax, [ebp - 0x48]
mov dword [ebp + 0x14], eax
mov edi, dword [ebp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
jne 0x109fa01
call fcn.0108edc3
mov esi, eax
push esi
push 0x43c0197
jmp 0x109fc02
xor edi, edi
inc edi
push edi
push 0x10027ac
mov dword [ebp - 0x34], edi
call fcn.010a40b6
mov esi, eax
cmp esi, ebx
je 0x109fa23
push esi
push 0x4410197
jmp 0x109fc02
cmp dword [ebp + 0x10], ebx
jne 0x109fa38
mov esi, 0x80004003
push esi
push 0x4460197
jmp 0x109fc02
test dword [ebp + 0xc], 0xfffffcfc
je 0x109fa51
mov esi, 0x80070057
push esi
push 0x44b0197
jmp 0x109fc02
push dword [ebp + 0x10]
call fcn.0109d54f
test eax, eax
jne 0x109fa85
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x109fa85
call fcn.0108edc3
mov esi, eax
cmp esi, 0x800700b7
je 0x109fa85
push esi
push 0x4550197
jmp 0x109fc02
lea eax, [ebp - 4]
push eax
push ebx
push 0x101e58c
push dword [ebp + 0x10]
call fcn.0108ae0f
mov esi, eax
cmp esi, ebx
je 0x109faa8
push esi
push 0x45f0197
jmp 0x109fc02
mov eax, dword [ebp + 0xc]
shr eax, 8
and eax, edi
push eax
push dword [ebp - 4]
call fcn.0109f884
mov esi, eax
cmp esi, ebx
je 0x109faca
push esi
push 0x4640197
jmp 0x109fc02
test dword [ebp + 0xc], 0x200
jne 0x109fc10
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [ebp - 0x18]
mov esi, eax
cmp esi, ebx
je 0x109faf2
push esi
push 0x46a0197
jmp 0x109fc02
cmp dword [ebp - 0x38], ebx
jne 0x109fb07
mov esi, 0x800706ba
push esi
push 0x4710197
jmp 0x109fc02
mov eax, dword [ebp + 0xc]
xor ecx, ecx
and eax, edi
mov edx, edi
mov dword [ebp + 0x10], eax
je 0x109fb1a
push 2
mov ecx, edi
pop edx
lea eax, [ebp - 8]
push eax
push edx
push ecx
push dword [ebp + 8]
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, ebx
je 0x109fb37
push esi
push 0x4820197
jmp 0x109fc02
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 0x10], ebx
jne 0x109fbbe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [ebp - 0x20]
mov esi, eax
cmp esi, ebx
je 0x109fb5e
push esi
push 0x4890197
jmp 0x109fc02
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x101e570
push dword [ebp - 4]
call fcn.0108ae0f
mov esi, eax
cmp esi, ebx
je 0x109fb81
push esi
push 0x4900197
jmp 0x109fc02
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.certcli.dll_Ordinal_225
mov esi, eax
cmp esi, ebx
je 0x109fb9f
push esi
push 0x4970197
jmp 0x109fc02
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 8]
call fcn.0109f35a
mov esi, eax
cmp esi, ebx
je 0x109fbc9
push esi
push 0x49e0197
jmp 0x109fc02
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x64
mov edi, eax
lea eax, [edi + 4]
push eax
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
call fcn.0109f35a
mov esi, eax
cmp esi, ebx
je 0x109fbe7
push esi
push 0x4ab0197
jmp 0x109fc02
test dword [ebp + 0xc], 2
jne 0x109fc09
push dword [ebp - 8]
call dword [ebp - 0x24]
mov esi, eax
cmp esi, ebx
je 0x109fc09
push esi
push 0x4b10197
call fcn.010893e6
jmp 0x109fc10
mov dword [edi + 8], 0x64
cmp dword [ebp - 0xc], ebx
je 0x109fc1b
push dword [ebp - 0xc]
call dword [ebp - 0x28]
cmp dword [ebp - 0x2c], ebx
je 0x109fc3d
push dword [ebp - 8]
call dword [ebp - 0x30]
mov edi, eax
cmp edi, ebx
je 0x109fc37
push edi
push 0x4bf0197
call fcn.010893e6
cmp esi, ebx
jne 0x109fc3d
mov esi, edi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], ebx
je 0x109fc4d
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], ebx
je 0x109fc57
push dword [ebp - 4]
call edi
cmp dword [ebp - 0x34], ebx
je 0x109fc6d
push ebx
push 0x10027ac
call fcn.010a40b6
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp dword [ebp - 0x14], ebx
je 0x109fc7b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10