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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x490a3f
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.004724a0
push ebx
push ebp
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x42fd4d
push 0
lea eax, [esp + 0x78]
push str.CINIFile::FindUnpluggedDriverPath_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x174]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
mov esi, dword [esp + 0x1044]
test eax, eax
je 0x42fd8d
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.00471c30
add esp, 0x10
lea edx, [esp + 0x74]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
xor ebp, ebp
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebp
call fcn.00481a49
push 0xa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1040], ebp
call fcn.00481a49
mov eax, dword [0x4b538c]
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.00457bc0
push str.SYSTEMCurrentControlSetEnum_
lea ecx, [esp + 0x14]
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x2c]
mov bl, 5
push eax
mov byte [esp + 0x1048], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1040], 6
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x103c], bl
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x103c], 4
call fcn.00482288
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x374]
call fcn.00411ab0
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.004589c0
cmp dword [esp + 0x374], ebp
jne 0x42fe7c
mov dword [esp + 0x10], ebp
jmp 0x42fec3
lea eax, [esp + 0x378]
lea edx, [esp + 0x378]
test eax, eax
mov dword [esp + 0x10], edx
je 0x42fec3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x378]
call fcn.00404d60
cmp eax, 0xffffffff
je 0x42feb1
mov eax, dword [esp + eax*4 + 0x56c]
jmp 0x42feb3
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.00481b86
cmp dword [esp + 0x10], ebp
jne 0x42fe92
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x374]
mov byte [esp + 0x103c], 4
call fcn.0040f800
cmp esi, ebp
je 0x430187
mov eax, dword [esp + 0x40]
cmp eax, ebp
mov esi, eax
je 0x430187
mov ebp, dword [esp + 0x104c]
jmp 0x42fefe
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x430183
mov edx, dword [esi]
lea eax, [esp + 0x20]
push 0x4a919c
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x30], edx
call fcn.004824d1
add esi, 8
lea edx, [esp + 0x30]
push esi
push eax
push edx
mov byte [esp + 0x1048], 8
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1040], 9
call fcn.00482375
lea ecx, [esp + 0x30]
mov byte [esp + 0x103c], 8
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0x103c], 4
call fcn.00482288
lea ecx, [esp + 0x14]
call fcn.0048273e
mov esi, dword [esp + 0x1048]
mov ecx, esi
call fcn.0048273e
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.00481260
cmp eax, 0xffffffff
je 0x430177
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.004589c0
cmp dword [esp + 0x374], ebx
jne 0x42fff7
mov dword [esp + 0x10], ebx
jmp 0x43003e
lea eax, [esp + 0x378]
lea edx, [esp + 0x378]
test eax, eax
mov dword [esp + 0x10], edx
je 0x43003e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x378]
call fcn.00404d60
cmp eax, 0xffffffff
je 0x43002c
mov eax, dword [esp + eax*4 + 0x56c]
jmp 0x43002e
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00481b86
cmp dword [esp + 0x10], ebx
jne 0x43000d
mov eax, dword [esp + 0x374]
mov ebx, dword [esp + 0x64]
xor edi, edi
mov byte [esp + 0x103c], 4
test eax, eax
jbe 0x430082
lea esi, [esp + 0x56c]
mov eax, dword [esi]
test eax, eax
je 0x430073
push eax
call fcn.00486245
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x374]
inc edi
add esi, 4
cmp edi, eax
jb 0x43005e
test ebx, ebx
je 0x430177
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x430177
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x430177
lea edx, [esp + 0x14]
push 0x4a919c
lea eax, [esp + 0x2c]
push edx
mov edi, esi
mov esi, dword [esi]
push eax
call fcn.004824d1
add edi, 8
lea ecx, [esp + 0x2c]
push edi
push eax
push ecx
mov byte [esp + 0x1048], 0xb
call fcn.0048246b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1040], 0xc
call fcn.00482375
lea ecx, [esp + 0x2c]
mov byte [esp + 0x103c], 0xb
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x103c], 4
call fcn.00482288
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [edx - 8]
push eax
call fcn.0048266c
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x104
push ecx
push ebp
push str.Driver
push eax
lea ecx, [esp + 0xe4c]
call fcn.00458470
test eax, eax
je 0x43016f
call fcn.0044bde0
test eax, eax
je 0x430167
push ebp
lea edx, [esp + 0x78]
push str.pszDriverPath___s_n
push edx
call fcn.00471c30
add esp, 0xc
lea eax, [esp + 0x74]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov dword [esp + 0x1c], 1
test esi, esi
jne 0x430096
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42fefa
mov ebp, dword [esp + 0x1c]
call fcn.0044bde0
test eax, eax
je 0x430226
push ebp
lea ecx, [esp + 0xd40]
push str.CINIFile::FindUnpluggedDriverPath_:_bRetVal___d_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x18]
mov byte [esp + 0x103c], 3
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x103c], 2
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x103c], 1
call fcn.00482288
lea ecx, [esp + 0x58]
mov byte [esp + 0x103c], 0
call fcn.00481abd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x103c], 0xffffffff
call fcn.00481abd
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