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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4840bf
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.004660e0
push ebx
push ebp
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x4283fd
push 0
lea eax, [esp + 0x78]
push str.CINIFile::FindUnpluggedDriverPath_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x174]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x174]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x174]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
mov esi, dword [esp + 0x1044]
test eax, eax
je 0x42843d
mov ecx, dword [esp + 0x1048]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x74]
push edx
push eax
push str.csBusType___s__csDeviceID___s_n
push ecx
call fcn.00465850
add esp, 0x10
lea edx, [esp + 0x74]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
xor ebp, ebp
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebp
call fcn.00475669
push 0xa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1040], ebp
call fcn.00475669
mov eax, dword [0x4a6844]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push 0x80000002
lea ecx, [esp + 0xe40]
mov byte [esp + 0x1040], 4
call fcn.0044cd70
push str.SYSTEMCurrentControlSetEnum_
lea ecx, [esp + 0x14]
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x2c]
mov bl, 5
push eax
mov byte [esp + 0x1048], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1040], 6
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x103c], bl
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x103c], 4
call fcn.00475ea8
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x374]
call fcn.00410860
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x56c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x374]
mov byte [esp + 0x103c], 7
push ecx
push esi
lea ecx, [esp + 0xe44]
call fcn.0044da10
cmp dword [esp + 0x374], ebp
jne 0x42852c
mov dword [esp + 0x10], ebp
jmp 0x428573
lea eax, [esp + 0x378]
lea edx, [esp + 0x378]
test eax, eax
mov dword [esp + 0x10], edx
je 0x428573
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x378]
call fcn.00404ab0
cmp eax, 0xffffffff
je 0x428561
mov eax, dword [esp + eax*4 + 0x56c]
jmp 0x428563
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.004757a6
cmp dword [esp + 0x10], ebp
jne 0x428542
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x374]
mov byte [esp + 0x103c], 4
call fcn.0040e720
cmp esi, ebp
je 0x428837
mov eax, dword [esp + 0x40]
cmp eax, ebp
mov esi, eax
je 0x428837
mov ebp, dword [esp + 0x104c]
jmp 0x4285ae
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x428833
mov edx, dword [esi]
lea eax, [esp + 0x20]
push 0x49b19c
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x30], edx
call fcn.004760f1
add esi, 8
lea edx, [esp + 0x30]
push esi
push eax
push edx
mov byte [esp + 0x1048], 8
call fcn.0047608b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1040], 9
call fcn.00475f95
lea ecx, [esp + 0x30]
mov byte [esp + 0x103c], 8
call fcn.00475ea8
lea ecx, [esp + 0x34]
mov byte [esp + 0x103c], 4
call fcn.00475ea8
lea ecx, [esp + 0x14]
call fcn.0047635e
mov esi, dword [esp + 0x1048]
mov ecx, esi
call fcn.0047635e
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.00474e80
cmp eax, 0xffffffff
je 0x428827
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x378]
mov dword [esp + 0x374], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x56c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x374]
push eax
push ecx
lea ecx, [esp + 0xe44]
mov byte [esp + 0x1044], 0xa
call fcn.0044da10
cmp dword [esp + 0x374], ebx
jne 0x4286a7
mov dword [esp + 0x10], ebx
jmp 0x4286ee
lea eax, [esp + 0x378]
lea edx, [esp + 0x378]
test eax, eax
mov dword [esp + 0x10], edx
je 0x4286ee
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x378]
call fcn.00404ab0
cmp eax, 0xffffffff
je 0x4286dc
mov eax, dword [esp + eax*4 + 0x56c]
jmp 0x4286de
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
call fcn.004757a6
cmp dword [esp + 0x10], ebx
jne 0x4286bd
mov eax, dword [esp + 0x374]
mov ebx, dword [esp + 0x64]
xor edi, edi
mov byte [esp + 0x103c], 4
test eax, eax
jbe 0x428732
lea esi, [esp + 0x56c]
mov eax, dword [esi]
test eax, eax
je 0x428723
push eax
call fcn.00479e65
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x374]
inc edi
add esi, 4
cmp edi, eax
jb 0x42870e
test ebx, ebx
je 0x428827
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x428827
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x428827
lea edx, [esp + 0x14]
push 0x49b19c
lea eax, [esp + 0x2c]
push edx
mov edi, esi
mov esi, dword [esi]
push eax
call fcn.004760f1
add edi, 8
lea ecx, [esp + 0x2c]
push edi
push eax
push ecx
mov byte [esp + 0x1048], 0xb
call fcn.0047608b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1040], 0xc
call fcn.00475f95
lea ecx, [esp + 0x2c]
mov byte [esp + 0x103c], 0xb
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x103c], 4
call fcn.00475ea8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [edx - 8]
push eax
call fcn.0047628c
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x104
push ecx
push ebp
push str.Driver
push eax
lea ecx, [esp + 0xe4c]
call fcn.0044d620
test eax, eax
je 0x42881f
call fcn.00441cf0
test eax, eax
je 0x428817
push ebp
lea edx, [esp + 0x78]
push str.pszDriverPath___s_n
push edx
call fcn.00465850
add esp, 0xc
lea eax, [esp + 0x74]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov dword [esp + 0x1c], 1
test esi, esi
jne 0x428746
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4285aa
mov ebp, dword [esp + 0x1c]
call fcn.00441cf0
test eax, eax
je 0x4288d6
push ebp
lea ecx, [esp + 0xd40]
push str.CINIFile::FindUnpluggedDriverPath_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x274]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x274]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xd3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x274]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x18]
mov byte [esp + 0x103c], 3
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x103c], 2
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x103c], 1
call fcn.00475ea8
lea ecx, [esp + 0x58]
mov byte [esp + 0x103c], 0
call fcn.004756dd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x103c], 0xffffffff
call fcn.004756dd
mov ecx, dword [esp + 0x1034]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1030
ret 0xc