Function at 0x41b5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4795a4
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x640], eax
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x650]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [esp + 0x658], 0
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov eax, 0x208
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x660]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x660], 1
call fcn.00401520
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
call fcn.00414660
add esp, 8
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x664], 2
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x41b807
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Child]
test eax, eax
jne 0x41b807
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Registry_PropertyW]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
push 0
push 8
push ecx
call esi
test eax, eax
jne 0x41b807
mov ecx, dword [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44c]
push eax
push 0
push 1
push ecx
call esi
test eax, eax
jne 0x41b807
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x244]
push eax
push 0
push 2
push ecx
call esi
test eax, eax
jne 0x41b7a3
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x10]
call fcn.00406310
lea ecx, [esp + 0xc]
mov byte [esp + 0x658], 3
call fcn.00408420
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41b722
or eax, 0xffffffff
jmp 0x41b740
push str.REV_
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x41b73a
or eax, 0xffffffff
jmp 0x41b740
sub eax, dword [esp + 0xc]
sar eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0x482a84
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040c510
push 0x481de0
push str.REV_
lea ecx, [esp + 0x18]
mov byte [esp + 0x660], 4
call fcn.004081f0
mov edx, dword [esp + 0x10]
push edx
call fcn.00416c20
add esp, 4
lea ecx, [esp + 0x10]
movzx esi, ax
call fcn.00450df0
lea ecx, [esp + 0xc]
mov byte [esp + 0x658], 2
call fcn.00450df0
jmp 0x41b7a7
mov esi, dword [esp + 0x1c]
push 2
push esi
call fcn.00410370
add esp, 8
test eax, eax
jne 0x41b807
mov esi, dword [sym.imp.MSVCR90.dll__wcsicmp]
lea eax, [esp + 0x34]
push str.CDROM
push eax
call esi
add esp, 8
test eax, eax
je 0x41b7e2
lea ecx, [esp + 0x34]
push 0x48569c
push ecx
call esi
add esp, 8
test eax, eax
jne 0x41b807
lea ecx, [esp + 0x14]
call fcn.00450df0
lea ecx, [esp + 0x1c]
call fcn.00450df0
lea ecx, [esp + 0x660]
call fcn.00450df0
mov eax, 1
jmp 0x41b883
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x658], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b82f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x658], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x660]
add eax, 0xfffffff0
mov dword [esp + 0x658], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x650]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.004764f6
add esp, 0x650
ret 4