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

Disassembly:
push 0xffffffffffffffff
push 0x477968
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
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.00403140
lea edx, [esp + 0x28]
push edx
call fcn.004539a0
push 0x483204
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 0x41ce43
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 0x41cf40
sub eax, 0x10
push eax
call fcn.00401530
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.00401530
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x38], 0xffffffff
call fcn.00418cc0
add esp, 8
test eax, eax
jne 0x41cf8f
cmp ebx, 0x8000
jne 0x41cf8f
push str._neobutter__IsSupportDeviceForWin8_is_FALSE
call fcn.00403140
push 0x20000000
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0042bb70
mov ecx, dword [esi]
add esp, 0x10
cmp dword [ecx - 0xc], 0
je 0x41d6c9
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], 0
je 0x41d6c9
mov ecx, esi
call fcn.00408060
push eax
lea ecx, [esp + 0x3c]
call fcn.004023e0
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov dword [esp + 0x38], 1
call fcn.004023e0
call fcn.00418860
add esp, 4
cmp eax, 1
jne 0x41cf32
push str._neobutter__IsSupportDeviceForWin8___NotifyDeviceChange
call fcn.00403140
push 0x50000000
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0042bb70
add esp, 0x10
lea ecx, [esp + 0x38]
call fcn.0044e330
jmp 0x41d6c9
sub eax, 0x10
push eax
call fcn.00401530
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.00401530
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x38], 0xffffffff
call fcn.00418950
add esp, 8
test eax, eax
jne 0x41cf8f
cmp ebx, 0x8000
je 0x41d6c9
push str.UpdateDevice
call fcn.00403140
mov esi, dword [esp + 0x18]
add esp, 4
cmp dword [esi + 0x9c], 0
je 0x41d6c9
mov eax, ebx
sub eax, 0x8000
je 0x41d26d
sub eax, 4
jne 0x41d6c9
mov ecx, dword [ebp]
push ecx
push str.DBT_DEVICEREMOVECOMPLETE__s
call fcn.00403140
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 0x41d0d0
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 0x41d026
call dword [0x47f350]
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, dword [edx + ebp + 0x10]
jne 0x41d065
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 0x41d052
call dword [0x47f350]
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
push ebx
call fcn.00406950
add esp, 8
test al, al
jne 0x41d086
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 0x41d005
jmp 0x41d0d0
mov ecx, dword [ebx]
push ecx
push str.m_DeviceArrivalListModem.erase______s
call fcn.00403140
mov ebp, dword [esi + 0xc]
add esp, 8
cmp ebp, dword [esi + 0x10]
jbe 0x41d0a4
call dword [0x47f350]
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.0040f460
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419380
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 0x41d1b2
xor edi, edi
jmp 0x41d100
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 0x41d121
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [edi + ecx + 0x10]
jne 0x41d18f
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 0x41d14e
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41d1e4
mov eax, dword [ebx]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d186
test dx, dx
je 0x41d182
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d186
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d160
xor eax, eax
jmp 0x41d18b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d1ee
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 0x41d100
push str.DBT_DEVICEREMOVECOMPLETE_AddTail
call fcn.00403140
mov ecx, dword [esp + 0x18]
add esp, 4
push ebx
add ecx, 0x6c
call fcn.0041b6b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [0x47f4e4]
jmp 0x41d6b3
push 0x80004005
call fcn.00401120
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403140
add esp, 4
cmp ebp, 0xffffffff
je 0x41d1b2
push str.DBT_DEVICEREMOVECOMPLETE_RemoveAt
call fcn.00403140
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41d21b
call dword [0x47f350]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41d245
call dword [0x47f350]
xor eax, eax
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41d250
test edi, edi
je 0x41d249
mov edi, dword [edi]
jmp 0x41d24b
mov eax, dword [edi]
jmp 0x41d231
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41d256
call dword [0x47f350]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419380
jmp 0x41d1cc
mov ecx, dword [ebp]
push ecx
push str.DBT_DEVICEARRIVAL__s
call fcn.00403140
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 0x41d391
cmp dword [ebp + 0x10], eax
jne 0x41d391
mov ecx, dword [ebp]
push ecx
push str.m_DeviceArrivalListModem.push_back______s
call fcn.00403140
add esp, 8
push ebp
mov ecx, esi
call fcn.0041b6b0
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 0x41d4a6
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 0x41d316
call dword [0x47f350]
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, dword [edi + edx + 0x10]
jne 0x41d483
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 0x41d346
call dword [0x47f350]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x41d1e4
mov eax, dword [ebx]
jmp 0x41d360
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d476
test dx, dx
je 0x41d38a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d476
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d360
xor eax, eax
jmp 0x41d47b
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 0x41d2c9
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xb0], 1
je 0x41d430
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 0x41d3e4
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ecx + ebp + 0x10]
jne 0x41d406
push edi
mov ecx, esi
call fcn.0040ecb0
push eax
push ebx
call fcn.00406950
add esp, 8
test al, al
jne 0x41d457
cmp dword [ebx + 0x10], 0
je 0x41d46c
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 0x41d3b6
jmp 0x41d2cd
mov dword [ecx + 0xb0], 0
mov edx, dword [ebx]
push edx
push str.m_DeviceArrivalListModem.push_back3______s
call fcn.00403140
add esp, 8
push ebx
mov ecx, esi
call fcn.0041b6b0
jmp 0x41d2cd
mov eax, dword [ebx]
push eax
push str.m_DeviceArrivalListModem_return____s
call fcn.00403140
add esp, 8
jmp 0x41d6c9
mov ecx, dword [ebx]
push ecx
push str.m_DeviceArrivalListModem.push_back2______s
jmp 0x41d442
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d56e
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 0x41d2f5
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 0x41d68a
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 0x41d4f3
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ecx + edi + 0x10]
jne 0x41d5ed
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 0x41d526
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov ecx, dword [edi + ecx]
test ecx, ecx
je 0x41d1e4
mov eax, dword [ebx]
jmp 0x41d540
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d5e4
test dx, dx
je 0x41d56a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d5e4
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d540
xor eax, eax
jmp 0x41d5e9
cmp ebp, 0xffffffff
je 0x41d4a6
push str.DBT_DEVICEARRIVAL_RemoveList
call fcn.00403140
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41d592
call dword [0x47f350]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41d5bc
call dword [0x47f350]
xor eax, eax
lea ecx, [ebp + ebp*4]
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41d5c7
test edi, edi
je 0x41d5c0
mov edi, dword [edi]
jmp 0x41d5c2
mov eax, dword [edi]
jmp 0x41d5a8
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41d5cd
call dword [0x47f350]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00419380
jmp 0x41d686
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d614
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 0x41d4d0
jmp 0x41d68a
cmp ebp, 0xffffffff
je 0x41d68a
push str.DBT_DEVICEARRIVAL_RemoveModemList
call fcn.00403140
mov ebx, dword [esi + 0xc]
add esp, 4
cmp ebx, dword [esi + 0x10]
jbe 0x41d634
call dword [0x47f350]
mov edi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
test edi, edi
jne 0x41d663
call dword [0x47f350]
xor eax, eax
lea ecx, [ebp*8]
sub ecx, ebp
lea ebx, [ebx + ecx*4]
cmp ebx, dword [eax + 0x10]
ja 0x41d66e
test edi, edi
je 0x41d667
mov edi, dword [edi]
jmp 0x41d669
mov eax, dword [edi]
jmp 0x41d64a
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x41d674
call dword [0x47f350]
mov edx, dword [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004192d0
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [0x47f4e4]
push str.DBT_DEVICEARRIVAL_AddTail
call fcn.00403140
add esp, 4
push ebx
lea ecx, [esi + 0x54]
call fcn.0041b6b0
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push 0
push edx
push 0x3e8
push eax
call dword [0x47f4e0]
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