Function at 0x105e4b6
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
jne 0x105e4ef
mov esi, 0x80070057
push esi
push 0x31c0197
call fcn.01053610
jmp 0x105e732
cmp dword [ebp + 0x14], ebx
jne 0x105e4fa
lea eax, [ebp - 0x2c]
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 0x105e51d
call fcn.0106d6ff
mov esi, eax
push esi
push 0x3280197
jmp 0x105e4e5
xor edi, edi
inc edi
push edi
push 0x10022c8
mov dword [ebp - 0x18], edi
call fcn.01061da6
mov esi, eax
cmp esi, ebx
je 0x105e53c
push esi
push 0x32d0197
jmp 0x105e4e5
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x105e550
mov esi, 0x80004003
push esi
push 0x3320197
jmp 0x105e4e5
test dword [ebp + 0xc], 0xfffffcfc
je 0x105e569
mov esi, 0x80070057
push esi
push 0x3370197
jmp 0x105e4e5
push ebx
call fcn.0105e3aa
test eax, eax
jne 0x105e599
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x105e599
call fcn.0106d6ff
mov esi, eax
cmp esi, 0x800700b7
je 0x105e599
push esi
push 0x3410197
jmp 0x105e4e5
lea eax, [ebp - 4]
push eax
push 0
push 0x10113fc
push ebx
call fcn.01054a52
mov esi, eax
test esi, esi
je 0x105e5bb
push esi
push 0x34b0197
jmp 0x105e4e5
mov ebx, dword [ebp + 0xc]
mov eax, ebx
shr eax, 8
and eax, edi
push eax
push dword [ebp - 4]
call fcn.0105e41f
mov esi, eax
test esi, esi
je 0x105e5df
push esi
push 0x3500197
jmp 0x105e4e5
test bh, 2
jne 0x105e732
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.certadm.dll_Ordinal_13]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x105e608
push esi
push 0x3560197
jmp 0x105e4e5
cmp dword [ebp - 0x1c], eax
jne 0x105e61d
mov esi, 0x800706ba
push esi
push 0x35d0197
jmp 0x105e4e5
and ebx, edi
mov ecx, edi
je 0x105e628
push 2
mov eax, edi
pop ecx
lea edx, [ebp - 8]
push edx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.certadm.dll_Ordinal_10]
mov esi, eax
test esi, esi
je 0x105e648
push esi
push 0x36e0197
jmp 0x105e4e5
test ebx, ebx
mov dword [ebp - 0x14], edi
jne 0x105e6db
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.certadm.dll_Ordinal_17]
mov esi, eax
test esi, esi
je 0x105e675
push esi
push 0x3750197
jmp 0x105e4e5
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10113e0
push dword [ebp - 4]
call fcn.01054a52
mov esi, eax
test esi, esi
je 0x105e699
push esi
push 0x37c0197
jmp 0x105e4e5
push 2
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.certcli.dll_Ordinal_225
mov esi, eax
test esi, esi
je 0x105e6ba
push esi
push 0x3830197
jmp 0x105e4e5
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
call fcn.0105df69
mov esi, eax
test esi, esi
je 0x105e6e6
push esi
push 0x38a0197
jmp 0x105e4e5
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x64
mov ebx, eax
lea eax, [ebx + 4]
push eax
push dword [ebp - 4]
push 0
push dword [ebp - 8]
call fcn.0105df69
mov esi, eax
test esi, esi
je 0x105e708
push esi
push 0x3970197
jmp 0x105e4e5
test dword [ebp + 0xc], 2
jne 0x105e72b
push dword [ebp - 8]
call dword [sym.imp.certadm.dll_Ordinal_12]
mov esi, eax
test esi, esi
je 0x105e72b
push esi
push 0x39d0197
jmp 0x105e4e5
mov dword [ebx + 8], 0x64
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x105e742
push dword [ebp - 0xc]
call dword [sym.imp.certadm.dll_Ordinal_15]
cmp dword [ebp - 0x14], ebx
je 0x105e767
push dword [ebp - 8]
call dword [sym.imp.certadm.dll_Ordinal_6]
mov edi, eax
cmp edi, ebx
je 0x105e761
push edi
push 0x3ab0197
call fcn.01053610
cmp esi, ebx
jne 0x105e767
mov esi, edi
cmp dword [ebp - 0x10], ebx
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x105e777
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], ebx
je 0x105e781
push dword [ebp - 4]
call edi
cmp dword [ebp - 0x18], ebx
je 0x105e797
push ebx
push 0x10022c8
call fcn.01061da6
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10