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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4e75
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x218], edi
call fcn.0046d4f0
test eax, eax
je 0x416deb
push edi
push str.CInstall::ReadDeviceDataFromRegistry_:_pszSavedUIUInfoRegPath___s_n
push 0x647688
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x647588], eax
mov eax, 0x647688
add esp, 0xc
mov dword [0x64758c], ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416da3
mov edi, 0x647588
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x416db2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x647588
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edi, dword [ebp - 0x218]
push str.DeviceData
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x218], 0
call fcn.00403380
mov esi, eax
push edi
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00403380
push esi
push eax
lea edx, [ebp - 0x214]
push edx
mov byte [ebp - 4], 1
call fcn.00402910
add esp, 0xc
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20c]
call fcn.0047aa50
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416ea7
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 5
test ebx, ebx
je 0x4174c6
call fcn.0049cb90
test eax, eax
je 0x416ed5
mov dword [ebp - 0x14], 0x100
push str.csInstallPath
lea ecx, [ebp - 0x210]
call fcn.00403380
push ebx
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 6
call fcn.0040b2d0
mov esi, eax
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416f25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41747a
push str.csInstallPathExe
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], 1
call fcn.00403380
lea ecx, [ebx + 4]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 7
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csClassType
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 8]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 8
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csEnumFileName
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0xc]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 9
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41702a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csBusTypeAndDeviceID
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x10]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xa
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41707b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csBusType
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x14]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xb
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csDeviceID
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x18]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41711d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csDeviceDesc
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xd
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41716e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csWaveFileName
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x68]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xe
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csWaveBusTypeAndDeviceID
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x6c]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xf
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417210
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.csUninstallerFileName
lea ecx, [ebp - 0x210]
call fcn.00403380
lea ecx, [ebx + 0x74]
push ecx
push eax
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x10
call fcn.0040b2d0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x20]
push edx
push str.DriverVer0
mov esi, 4
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x24]
push edx
push str.DriverVer1
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x28]
push edx
push str.DriverVer2
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x2c]
push edx
push str.DriverVer3
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x30]
push edx
push str.CurrentDriverVer0
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x34]
push edx
push str.CurrentDriverVer1
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x38]
push edx
push str.CurrentDriverVer2
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebx + 0x3c]
push edx
push str.CurrentDriverVer3
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
xor esi, esi
lea edi, [ebx + 0x40]
jmp 0x4173b0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x417419
push esi
lea edx, [ebp - 0x21c]
push str.csChildFileName_d
push edx
call fcn.00408cb0
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.0040b2d0
push esi
lea edx, [ebp - 0x21c]
push str.csChildBusTypeAndDeviceID_d
push edx
call fcn.00408cb0
add esp, 0xc
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x20c]
call fcn.0040b2d0
inc esi
add edi, 8
cmp esi, 5
jb 0x4173b0
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebx + 0x78]
push ecx
push str.SetupStatus
mov esi, 4
push edx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
add ebx, 0x594
push ebx
push str.dwDeviceSetupMode
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
call fcn.0047b3d0
mov edx, dword [ebp - 0x214]
mov esi, dword [edx - 0xc]
test esi, esi
jns 0x417491
push 0x80070057
call fcn.00401b60
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4174b4
push esi
lea ecx, [ebp - 0x214]
call fcn.00402280
mov edx, dword [ebp - 0x214]
push 1
push 0
push 1
push edx
lea ecx, [ebp - 0x20c]
call fcn.0047aeb0
call fcn.0046d4f0
test eax, eax
je 0x417549
mov edx, dword [ebp - 0x218]
push edx
push str.CInstall::ReadDeviceDataFromRegistry_:_bRetVal___d_n
push 0x647488
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x647388], eax
mov eax, 0x647488
mov dword [0x64738c], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417505
mov edi, 0x647388
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x417516
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x647388
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41756f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417598
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 8