Function at 0x415cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478d41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [esp + 0x3c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
mov byte [esp + 0x44], 1
call fcn.00401520
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00414e70
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
mov byte [esp + 0x44], 2
call fcn.00401520
add esp, 4
lea ecx, [esp + 0x24]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.004133d0
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCR90.dll__wcsicmp]
push str.USBHUB
push eax
call ebp
add esp, 8
cmp eax, ebx
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x3c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x415e3a
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00401520
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x4c]
add esp, 4
push esi
call fcn.00414660
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x416167
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x3c], 4
je 0x4160ac
push eax
push str.GetUSBHardwareID_Vista:_s
call fcn.00403170
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 8
or eax, ecx
jge 0x415e98
push esi
lea ecx, [esp + 0x18]
call fcn.00401e80
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call dword [sym.imp.MSVCR90.dll__wcsupr_s]
add esp, 8
test esi, esi
jl 0x41619b
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x41619b
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00401520
add esp, 4
lea ecx, [esp + 0x28]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.004131b0
mov eax, dword [eax]
or dword [esp + 0x18], 2
push str.36FC9E60_C465_11CF_8056_444553540000
push eax
call ebp
add esp, 8
test eax, eax
jne 0x415f32
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x415f2e
push str.MI_
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x415f2e
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x415f32
mov bl, 1
jmp 0x415f34
xor bl, bl
test byte [esp + 0x18], 2
mov dword [esp + 0x3c], 4
je 0x415f68
mov eax, dword [esp + 0x24]
and dword [esp + 0x18], 0xfffffffd
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415f68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41609e
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00401520
add esp, 4
lea ecx, [esp + 0x2c]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.00414e70
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 6
call fcn.00404460
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415fcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x41617d
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41600b
test dx, dx
je 0x416007
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41600b
add eax, 4
add ecx, 4
test dx, dx
jne 0x415fe5
xor eax, eax
jmp 0x416010
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x416187
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00401520
add esp, 4
lea ecx, [esp + 0x30]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.004133d0
mov eax, dword [eax]
push str.USBHUB
push eax
call ebp
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416078
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x416191
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404460
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x415e64
jmp 0x4160ac
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.00404460
mov esi, dword [esp + 0x1c]
push esi
push str.CDeviceDetect::GetUSBHardwareID_Vista
push str._s__s
call fcn.00403170
add esi, 0xfffffff0
push esi
call fcn.00401520
mov edi, dword [esp + 0x54]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x3c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4160fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41611f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41613d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416165
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
push 0x80004005
call fcn.00401120
lea eax, [esp + 0x14]
push eax
jmp 0x4160a3
lea ecx, [esp + 0x14]
push ecx
jmp 0x4160a3
push 0x80070057
call fcn.00401120
int3