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

Disassembly:
push 0xffffffffffffffff
push 0x479238
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
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.004014f0
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.004014f0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041a420
mov esi, dword [esp + 0x48]
add esp, 8
cmp eax, edi
jne 0x41eb26
cmp esi, 0x8000
je 0x41f224
push str.UpdateDevice
call fcn.00403170
add esp, 4
cmp dword [ebx + 0x9c], edi
je 0x41f224
mov eax, esi
sub eax, 0x8000
je 0x41edf1
sub eax, 4
jne 0x41f224
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 0x41ec5d
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 0x41ebb2
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 0x41ebf1
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 0x41ebde
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
add eax, ebx
push eax
push ebp
call fcn.00406b00
add esp, 8
test al, al
jne 0x41ec12
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 0x41eb91
jmp 0x41ec5d
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 0x41ec31
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.00410580
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0041ae90
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 0x41ed36
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 0x41eca6
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 0x41ed13
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 0x41ecd3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41ed68
mov eax, dword [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ed0a
test dx, dx
je 0x41ed06
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ed0a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ece4
xor eax, eax
jmp 0x41ed0f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41ed72
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 0x41ec85
push str.DBT_DEVICEREMOVECOMPLETE_AddTail
call fcn.00403170
mov ecx, dword [esp + 0x18]
add esp, 4
push ebp
add ecx, 0x6c
call fcn.0041d370
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41f20e
push 0x80004005
call fcn.00401100
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403170
add esp, 4
cmp ebx, 0xffffffff
je 0x41ed36
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41ed9f
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 0x41edc9
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 0x41edd4
test edi, edi
je 0x41edcd
mov edi, dword [edi]
jmp 0x41edcf
mov eax, dword [edi]
jmp 0x41edb5
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41edda
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.0041ae90
jmp 0x41ed50
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 0x41ee3a
cmp dword [ebp + 0x10], edi
jne 0x41ee3a
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.push_back______s
jmp 0x41ef0b
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 0x41ef1b
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xb0], 1
je 0x41eed7
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 0x41ee8e
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 0x41eeb0
push edi
mov ecx, esi
call fcn.0040fdc0
push eax
push ebp
call fcn.00406b00
add esp, 8
test al, al
jne 0x41eeec
cmp dword [ebp + 0x10], 0
je 0x41ef02
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 0x41ee60
jmp 0x41ef1b
mov dword [ecx + 0xb0], 0
mov edx, dword [ebp]
push edx
push str.m_DeviceArrivalListModem.push_back3______s
jmp 0x41ef0b
mov eax, dword [ebp]
push eax
push str.m_DeviceArrivalListModem_return____s
call fcn.00403170
add esp, 8
jmp 0x41f224
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.0041d370
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 0x41eff7
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 0x41ef64
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 0x41efd4
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 0x41ef90
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x41ed68
mov eax, dword [ebp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41efc7
test dx, dx
je 0x41efc3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41efc7
add eax, 4
add ecx, 4
test dx, dx
jne 0x41efa1
xor eax, eax
jmp 0x41efcc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f0c1
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 0x41ef43
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 0x41f1e5
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 0x41f044
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 0x41f140
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 0x41f077
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41ed68
mov eax, dword [ebp]
jmp 0x41f090
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f137
test dx, dx
je 0x41f0ba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f137
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f090
xor eax, eax
jmp 0x41f13c
cmp ebx, 0xffffffff
je 0x41eff7
push str.DBT_DEVICEARRIVAL_RemoveList
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41f0e5
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 0x41f10f
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 0x41f11a
test edi, edi
je 0x41f113
mov edi, dword [edi]
jmp 0x41f115
mov eax, dword [edi]
jmp 0x41f0fb
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41f120
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.0041ae90
jmp 0x41f1e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f16a
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 0x41f021
jmp 0x41f1e5
cmp ebx, 0xffffffff
je 0x41f1e5
push str.DBT_DEVICEARRIVAL_RemoveModemList
call fcn.00403170
mov ebp, dword [esi + 0xc]
add esp, 4
cmp ebp, dword [esi + 0x10]
jbe 0x41f18e
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 0x41f1be
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 0x41f1c9
test edi, edi
je 0x41f1c2
mov edi, dword [edi]
jmp 0x41f1c4
mov eax, dword [edi]
jmp 0x41f1a4
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x41f1cf
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.0041ade0
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.0041d370
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