Function at 0x449b30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6503
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4f4970]
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, 0x4de4f4
lea esi, [ebp - 0x38]
mov dword [ebp - 0x40], edi
call fcn.0044c340
push 0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040e660
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call esi
push str.driver_
lea ecx, [ebp - 0x38]
call fcn.00409f90
push 0
lea ecx, [ebp - 0x38]
call fcn.0040e660
push eax
call esi
push str.driver_
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040a470
add esp, 0xc
push 0
mov ecx, eax
call fcn.0040e660
push eax
call esi
lea ecx, [ebp - 0x34]
call fcn.00409f10
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.004b2750
lea edx, [edi + 0x34]
mov ecx, edi
call fcn.0044a0a0
cmp byte [edi + 0x30], 0
mov ebx, eax
je 0x449c1c
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], str.user_cancel
call fcn.0046d347
push 0x4e9138
lea eax, [ebp - 0x4c]
push eax
call fcn.0046d658
test ebx, ebx
jne 0x449c57
push ebx
push ebx
push ebx
push ebx
push 1
push 2
mov ecx, esi
call fcn.004b2750
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409df0
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0044aa70
test al, al
jne 0x449c60
lea ecx, [ebp - 0x34]
mov ebx, 5
call fcn.00409f10
mov byte [ebp - 4], 0
jmp 0x449e45
cmp byte [edi + 0x30], 0
je 0x449c87
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], str.user_cancel
call fcn.0046d347
push 0x4e9138
lea eax, [ebp - 0x58]
push eax
call fcn.0046d658
push 0
push 0
push 0
push 0
push 3
push 2
mov ecx, esi
call fcn.004b2750
push ecx
lea edx, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.00409df0
lea eax, [edi + 0x78]
push eax
call fcn.00449ea0
test al, al
jne 0x449ccc
lea ecx, [ebp - 0x34]
mov ebx, 4
call fcn.00409f10
mov byte [ebp - 4], 0
jmp 0x449e45
lea ebx, [ebp - 0x34]
call fcn.00449f20
mov eax, edi
call fcn.0044b1b0
push 0
push 0
push 0
push 0
push 4
push 2
mov ecx, esi
call fcn.004b2750
lea ecx, [edi + 0x74]
push ecx
mov ecx, ebx
call fcn.00409f70
push 0xfde9
lea ecx, [edi + 0x34]
call fcn.0040e660
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040a8d0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040e660
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a6c0
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 5
call fcn.0040a900
sub esp, 0x1c
lea edx, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.0040a700
push edi
mov ecx, ebx
call fcn.0040e660
mov ecx, dword [edi + 0x70]
push ecx
push edi
mov ecx, eax
call fcn.0044acd0
test al, al
jne 0x449d7c
lea ecx, [ebp - 0x30]
mov ebx, 6
call fcn.0040a740
lea ecx, [ebp - 0x34]
call fcn.00409f10
mov byte [ebp - 4], 0
jmp 0x449e45
mov eax, edi
call fcn.0044b1b0
push 0
push 0
push 0
push 0
push 5
push 2
mov ecx, esi
call fcn.004b2750
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x449db4
mov eax, dword [ebp - 0x3c]
push 2
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
mov esi, edi
call fcn.0044b120
test al, al
jne 0x449dda
lea ecx, [ebp - 0x30]
mov ebx, 7
call fcn.0040a740
lea ecx, [ebp - 0x34]
call fcn.00409f10
mov byte [ebp - 4], 0
jmp 0x449e45
mov eax, edi
call fcn.0044b1b0
lea ecx, [ebp - 0x38]
call fcn.0040e660
push 1
push eax
call fcn.004b7c60
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.004b2750
mov ecx, dword [edi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x30]
call fcn.0040a740
lea ecx, [ebp - 0x34]
call fcn.00409f10
jmp 0x449e75
lea ecx, [ebp - 0x38]
call fcn.0040e660
push 1
push eax
call fcn.004b7c60
add esp, 8
push 0
push 0
push 0
push 0
push ebx
push 1
lea ecx, [edi + 0x24]
call fcn.004b2750
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x38]
call fcn.00409f10
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.0046da8a
mov esp, ebp
pop ebp
ret