Function at 0x41d460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x476e68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea esi, [ebp + 4]
push eax
push ecx
push str.CDeviceDetect::UpdateDevice
push str._s__svid_s_
call fcn.00403120
lea edx, [esp + 0x28]
push edx
call fcn.00453830
push 0x4821f4
push eax
call fcn.004040c0
mov bl, al
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
push ecx
test bl, bl
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x40], esp
mov edi, esp
je 0x41d5e0
sub eax, 0x10
push eax
call fcn.00401510
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov dword [esp + 0x3c], 0
call fcn.00401510
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x38], 0xffffffff
call fcn.004193f0
add esp, 8
test eax, eax
jne 0x41d62f
cmp ebx, 0x8000
jne 0x41d62f
push str._neobutter__IsSupportDeviceForWin8_is_FALSE
call fcn.00403120
push 0x20000000
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0042c580
mov ecx, dword [esi]
add esp, 0x10
cmp dword [ecx - 0xc], 0
je 0x41dd69
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], 0
je 0x41dd69
mov ecx, esi
call fcn.00408030
push eax
lea ecx, [esp + 0x3c]
call fcn.004023c0
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov dword [esp + 0x38], 1
call fcn.004023c0
call fcn.00418f90
add esp, 4
cmp eax, 1
jne 0x41d5d2
push str._neobutter__IsSupportDeviceForWin8___NotifyDeviceChange
call fcn.00403120
push 0x50000000
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0042c580
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.00401df0
jmp 0x41dd69
sub eax, 0x10
push eax
call fcn.00401510
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov dword [esp + 0x3c], 2
call fcn.00401510
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x38], 0xffffffff
call fcn.00419080
add esp, 8
test eax, eax
jne 0x41d62f
cmp ebx, 0x8000
je 0x41dd69
push str.UpdateDevice
call fcn.00403120
mov esi, dword [esp + 0x18]
add esp, 4
cmp dword [esi + 0x9c], 0
je 0x41dd69
mov eax, ebx
sub eax, 0x8000
je 0x41d90d
sub eax, 4
jne 0x41dd69
mov ecx, dword [ebp]
push ecx
push str.DBT_DEVICEREMOVECOMPLETE__s
call fcn.00403120
mov ecx, dword [esi + 0x94]
sub ecx, dword [esi + 0x90]
mov ebx, dword [esp + 0x40]
add esi, 0x84
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 8
xor edi, edi
add eax, edx
je 0x41d770
xor ebp, ebp
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x41d6c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, dword [edx + ebp + 0x10]
jne 0x41d705
mov ecx, dword [esi + 0x10]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x41d6f2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
push ebx
call fcn.00406970
add esp, 8
test al, al
jne 0x41d726
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x14
cmp edi, eax
jb 0x41d6a5
jmp 0x41d770
mov ecx, dword [ebx]
push ecx
push str.m_DeviceArrivalListModem.erase______s
call fcn.00403120
mov ebp, dword [esi + 0xc]
add esp, 8
cmp ebp, dword [esi + 0x10]
jbe 0x41d744
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
call fcn.0040f430
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419a20
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x64]
sub ecx, dword [esi + 0x60]
add esi, 0x54
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x41d852
xor edi, edi
jmp 0x41d7a0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41d7c1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [edi + ecx + 0x10]
jne 0x41d82f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41d7ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41d884
mov eax, dword [ebx]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d826
test dx, dx
je 0x41d822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d826
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d800
xor eax, eax
jmp 0x41d82b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d88e
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add edi, 0x14
cmp ebp, eax
jb 0x41d7a0
push str.DBT_DEVICEREMOVECOMPLETE_AddTail
call fcn.00403120
mov ecx, dword [esp + 0x18]
add esp, 4
push ebx
add ecx, 0x6c
call fcn.0041bd50
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41dd53
push 0x80004005
call fcn.00401100
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403120
add esp, 4
cmp ebp, 0xffffffff
je 0x41d852
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403120
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41d8bb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41d8e5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41d8f0
test edi, edi
je 0x41d8e9
mov edi, dword [edi]
jmp 0x41d8eb
mov eax, dword [edi]
jmp 0x41d8d1
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41d8f6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419a20
jmp 0x41d86c
mov ecx, dword [ebp]
push ecx
push str.DBT_DEVICEARRIVAL__s
call fcn.00403120
mov ecx, dword [esi + 0x94]
sub ecx, dword [esi + 0x90]
add esi, 0x84
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 8
add eax, edx
jne 0x41da31
cmp dword [ebp + 0x10], eax
jne 0x41da31
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.push_back______s
call fcn.00403120
add esp, 8
push ebp
mov ecx, esi
call fcn.0041bd50
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x7c]
sub ecx, dword [esi + 0x78]
add esi, 0x6c
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x41db46
xor edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x41d9b6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi + edx + 0x10]
jne 0x41db23
mov ecx, dword [esi + 0x10]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x41d9e6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x41d884
mov eax, dword [ebx]
jmp 0x41da00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41db16
test dx, dx
je 0x41da2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41db16
add eax, 4
add ecx, 4
test dx, dx
jne 0x41da00
xor eax, eax
jmp 0x41db1b
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x41d969
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xb0], 1
je 0x41dad0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41da84
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ecx + ebp + 0x10]
jne 0x41daa6
push edi
mov ecx, esi
call fcn.0040ecd0
push eax
push ebx
call fcn.00406970
add esp, 8
test al, al
jne 0x41daf7
cmp dword [ebx + 0x10], 0
je 0x41db0c
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x14
cmp edi, eax
jb 0x41da56
jmp 0x41d96d
mov dword [ecx + 0xb0], 0
mov edx, dword [ebx]
push edx
push str.m_DeviceArrivalListModem.push_back3______s
call fcn.00403120
add esp, 8
push ebx
mov ecx, esi
call fcn.0041bd50
jmp 0x41d96d
mov eax, dword [ebx]
push eax
push str.m_DeviceArrivalListModem_return____s
call fcn.00403120
add esp, 8
jmp 0x41dd69
mov ecx, dword [ebx]
push ecx
push str.m_DeviceArrivalListModem.push_back2______s
jmp 0x41dae2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dc0e
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add edi, 0x14
cmp ebp, eax
jb 0x41d995
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
add esi, 0x24
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x41dd2a
xor edi, edi
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41db93
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ecx + edi + 0x10]
jne 0x41dc8d
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41dbc6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41d884
mov eax, dword [ebx]
jmp 0x41dbe0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dc84
test dx, dx
je 0x41dc0a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dc84
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dbe0
xor eax, eax
jmp 0x41dc89
cmp ebp, 0xffffffff
je 0x41db46
push str.DBT_DEVICEARRIVAL_RemoveList
call fcn.00403120
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41dc32
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41dc5c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41dc67
test edi, edi
je 0x41dc60
mov edi, dword [edi]
jmp 0x41dc62
mov eax, dword [edi]
jmp 0x41dc48
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41dc6d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419a20
jmp 0x41dd26
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dcb4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add edi, 0x1c
cmp ebp, eax
jb 0x41db70
jmp 0x41dd2a
cmp ebp, 0xffffffff
je 0x41dd2a
push str.DBT_DEVICEARRIVAL_RemoveModemList
call fcn.00403120
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41dcd4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41dd03
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebp*8]
sub ecx, ebp
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41dd0e
test edi, edi
je 0x41dd07
mov edi, dword [edi]
jmp 0x41dd09
mov eax, dword [edi]
jmp 0x41dcea
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41dd14
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419970
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push str.DBT_DEVICEARRIVAL_AddTail
call fcn.00403120
add esp, 4
push ebx
lea ecx, [esi + 0x54]
call fcn.0041bd50
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push 0
push edx
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc