Function at 0x100323d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111e03
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x102ac760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, 0x10289b68
lea esi, [ebp - 0x38]
mov dword [ebp - 0x40], edi
call fcn.10035a10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call esi
push 7
push str.driver_
lea ecx, [ebp - 0x38]
call fcn.100036b0
mov ecx, dword [ebp - 0x38]
push 0
push ecx
call esi
push str.driver_
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.10008a30
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call esi
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003247a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push 0
push 0
push 0
lea esi, [edi + 0x24]
push 2
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100fa0a0
lea edx, [edi + 0x34]
mov ecx, edi
call fcn.10032a10
cmp byte [edi + 0x30], 0
mov ebx, eax
je 0x100324c7
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], str.user_cancel
call fcn.100b1e46
push 0x102a37d4
lea edx, [ebp - 0x4c]
push edx
call fcn.100b2199
test ebx, ebx
je 0x100324d4
mov byte [ebp - 4], 0
jmp 0x10032735
push 0
push 0
push 0
push 0
push 1
push 2
mov ecx, esi
call fcn.100fa0a0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
push eax
call fcn.10003c40
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x34], esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10033620
test al, al
jne 0x10032539
mov ebx, 5
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10032530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
jmp 0x10032735
cmp byte [edi + 0x30], 0
je 0x10032560
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], str.user_cancel
call fcn.100b1e46
push 0x102a37d4
lea edx, [ebp - 0x58]
push edx
call fcn.100b2199
push 0
push 0
push 0
push 0
push 3
push 2
lea ecx, [edi + 0x24]
call fcn.100fa0a0
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov ebx, esp
push esi
call fcn.10003c40
add eax, 0x10
mov dword [ebx], eax
add esp, 4
lea eax, [edi + 0x78]
push eax
call fcn.100327b0
test al, al
jne 0x100325c3
mov ebx, 4
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100325ba
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 0
jmp 0x10032735
lea ebx, [ebp - 0x34]
call fcn.10032870
mov eax, edi
call fcn.10033e00
push 0
push 0
push 0
push 0
push 4
lea ebx, [edi + 0x24]
push 2
mov ecx, ebx
call fcn.100fa0a0
mov eax, dword [edi + 0x74]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100036b0
push 0xfde9
lea ecx, [edi + 0x34]
call fcn.10015b40
push eax
lea ecx, [ebp - 0x15c]
call fcn.10018b10
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10015b40
push eax
lea ecx, [ebp - 0x30]
call fcn.10008d10
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 5
call fcn.10018b40
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.100189a0
mov esi, dword [ebp - 0x34]
mov edx, dword [edi + 0x70]
push edi
mov ecx, esi
call fcn.10033820
test al, al
jne 0x10032669
lea ecx, [ebp - 0x30]
mov ebx, 6
call fcn.100032e0
jmp 0x10032510
mov eax, edi
call fcn.10033e00
push 0
push 0
push 0
push 0
push 5
push 2
mov ecx, ebx
call fcn.100fa0a0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x100326a1
mov edx, dword [ebp - 0x3c]
push 2
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov esi, edi
call fcn.10033d70
test al, al
jne 0x100326c7
lea ecx, [ebp - 0x30]
mov ebx, 7
call fcn.100032e0
lea ecx, [ebp - 0x34]
call fcn.10003610
mov byte [ebp - 4], 0
jmp 0x10032735
mov eax, edi
call fcn.10033e00
mov eax, dword [ebp - 0x38]
push 1
push eax
call fcn.100fec70
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [edi + 0x24]
mov byte [edi + 0x80], 1
call fcn.100fa0a0
mov ecx, dword [edi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x30]
call fcn.100032e0
lea ecx, [ebp - 0x34]
call fcn.10003610
lea ecx, [ebp - 0x38]
call fcn.10003610
jmp 0x10032786
mov edx, dword [ebp - 0x38]
push 1
push edx
call fcn.100fec70
add esp, 8
push 0
push 0
push 0
push 0
push ebx
push 1
lea ecx, [edi + 0x24]
call fcn.100fa0a0
mov eax, dword [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10032786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b2738
mov esp, ebp
pop ebp
ret