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

Disassembly:
push 0xffffffffffffffff
push 0x479a28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
push str.CDeviceDetect::UpdateDevice
push str._s__svid_s_
call fcn.00403170
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401520
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 4]
sub eax, 0x10
xor edi, edi
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov dword [esp + 0x40], edi
call fcn.00401520
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041af10
mov esi, dword [esp + 0x48]
add esp, 8
cmp eax, edi
jne 0x41f676
cmp esi, 0x8000
je 0x41fd74
push str.UpdateDevice
call fcn.00403170
add esp, 4
cmp dword [ebx + 0x9c], edi
je 0x41fd74
mov eax, esi
sub eax, 0x8000
je 0x41f941
sub eax, 4
jne 0x41fd74
mov edx, dword [ebp]
push edx
push str.DBT_DEVICEREMOVECOMPLETE__s
call fcn.00403170
mov ecx, dword [ebx + 0x94]
sub ecx, dword [ebx + 0x90]
lea esi, [ebx + 0x84]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 8
add eax, edx
je 0x41f7ad
xor ebx, ebx
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 0x41f702
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx + edx + 0x10]
jne 0x41f741
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 0x41f72e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
add eax, ebx
push eax
push ebp
call fcn.00406b30
add esp, 8
test al, al
jne 0x41f762
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 ebx, 0x14
cmp edi, eax
jb 0x41f6e1
jmp 0x41f7ad
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.erase______s
call fcn.00403170
mov ebx, dword [esi + 0xc]
add esp, 8
cmp ebx, dword [esi + 0x10]
jbe 0x41f781
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
call fcn.00410c30
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041b980
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 ebx, ebx
add ecx, edx
je 0x41f886
xor edi, edi
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 ebx, eax
jb 0x41f7f6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, dword [edi + ecx + 0x10]
jne 0x41f863
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 ebx, eax
jb 0x41f823
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41f8b8
mov eax, dword [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f85a
test dx, dx
je 0x41f856
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f85a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f834
xor eax, eax
jmp 0x41f85f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f8c2
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 ebx
add eax, edx
add edi, 0x14
cmp ebx, eax
jb 0x41f7d5
push str.DBT_DEVICEREMOVECOMPLETE_AddTail
call fcn.00403170
mov ecx, dword [esp + 0x18]
add esp, 4
push ebp
add ecx, 0x6c
call fcn.0041dec0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41fd5e
push 0x80004005
call fcn.00401120
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403170
add esp, 4
cmp ebx, 0xffffffff
je 0x41f886
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41f8ef
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
test edi, edi
jne 0x41f919
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebx + ebx*4]
lea ebp, [ebp + ecx*4]
cmp ebp, dword [eax + 0x10]
ja 0x41f924
test edi, edi
je 0x41f91d
mov edi, dword [edi]
jmp 0x41f91f
mov eax, dword [edi]
jmp 0x41f905
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41f92a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041b980
jmp 0x41f8a0
mov ecx, dword [ebp]
push ecx
push str.DBT_DEVICEARRIVAL__s
call fcn.00403170
mov ecx, dword [ebx + 0x94]
sub ecx, dword [ebx + 0x90]
lea esi, [ebx + 0x84]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 8
add eax, edx
jne 0x41f98a
cmp dword [ebp + 0x10], edi
jne 0x41f98a
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.push_back______s
jmp 0x41fa5b
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
je 0x41fa6b
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xb0], 1
je 0x41fa27
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 0x41f9de
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebx + ecx + 0x10]
jne 0x41fa00
push edi
mov ecx, esi
call fcn.004104d0
push eax
push ebp
call fcn.00406b30
add esp, 8
test al, al
jne 0x41fa3c
cmp dword [ebp + 0x10], 0
je 0x41fa52
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 ebx, 0x14
cmp edi, eax
jb 0x41f9b0
jmp 0x41fa6b
mov dword [ecx + 0xb0], 0
mov edx, dword [ebp]
push edx
push str.m_DeviceArrivalListModem.push_back3______s
jmp 0x41fa5b
mov eax, dword [ebp]
push eax
push str.m_DeviceArrivalListModem_return____s
call fcn.00403170
add esp, 8
jmp 0x41fd74
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.push_back2______s
call fcn.00403170
add esp, 8
push ebp
mov ecx, esi
call fcn.0041dec0
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 ebx, ebx
add eax, edx
je 0x41fb47
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 ebx, ecx
jb 0x41fab4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + edx + 0x10]
jne 0x41fb24
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 ebx, ecx
jb 0x41fae0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x41f8b8
mov eax, dword [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41fb17
test dx, dx
je 0x41fb13
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41fb17
add eax, 4
add ecx, 4
test dx, dx
jne 0x41faf1
xor eax, eax
jmp 0x41fb1c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41fc11
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 ebx
add eax, edx
add edi, 0x14
cmp ebx, eax
jb 0x41fa93
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 ebx, ebx
add ecx, edx
je 0x41fd35
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 ebx, eax
jb 0x41fb94
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, dword [edi + ecx + 0x10]
jne 0x41fc90
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 ebx, eax
jb 0x41fbc7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41f8b8
mov eax, dword [ebp]
jmp 0x41fbe0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41fc87
test dx, dx
je 0x41fc0a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41fc87
add eax, 4
add ecx, 4
test dx, dx
jne 0x41fbe0
xor eax, eax
jmp 0x41fc8c
cmp ebx, 0xffffffff
je 0x41fb47
push str.DBT_DEVICEARRIVAL_RemoveList
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41fc35
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
test edi, edi
jne 0x41fc5f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebx + ebx*4]
lea ebp, [ebp + ecx*4]
cmp ebp, dword [eax + 0x10]
ja 0x41fc6a
test edi, edi
je 0x41fc63
mov edi, dword [edi]
jmp 0x41fc65
mov eax, dword [edi]
jmp 0x41fc4b
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41fc70
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041b980
jmp 0x41fd31
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41fcba
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 ebx
add eax, edx
add edi, 0x1c
cmp ebx, eax
jb 0x41fb71
jmp 0x41fd35
cmp ebx, 0xffffffff
je 0x41fd35
push str.DBT_DEVICEARRIVAL_RemoveModemList
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41fcde
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
test edi, edi
jne 0x41fd0e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [ebx*8]
sub ecx, ebx
lea ebp, [ebp + ecx*4]
cmp ebp, dword [eax + 0x10]
ja 0x41fd19
test edi, edi
je 0x41fd12
mov edi, dword [edi]
jmp 0x41fd14
mov eax, dword [edi]
jmp 0x41fcf4
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41fd1f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041b8d0
mov ebp, dword [esp + 0x3c]
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.00403170
add esp, 4
push ebp
lea ecx, [esi + 0x54]
call fcn.0041dec0
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 4]
push 0
push edx
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc