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

Disassembly:
push 0xffffffffffffffff
push 0x48c997
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c4
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.0044bde0
test eax, eax
je 0x4038ab
mov eax, dword [esp + 0x9e4]
lea ecx, [esp + 0x5d4]
push eax
push str.CInstall_::_GetInstallInfo_:_eInstallInfo___d_n
push ecx
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 + 0x7d4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x7d4]
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 + 0x5d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x7d4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x9dc], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push 0x403790
push 0x403770
push 5
lea ecx, [esp + 0x90]
push 8
push ecx
mov byte [esp + 0x9f0], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
push 0xa
lea ecx, [esp + 0x24]
mov dword [esp + 0x9e0], 7
call fcn.00481a49
push 0xa
lea ecx, [esp + 0x40]
mov byte [esp + 0x9e0], 8
call fcn.00481a49
mov ecx, dword [esp + 0x9e8]
mov byte [esp + 0x9dc], 9
mov edx, 0x64
lea ebp, [ecx + 0x108]
mov dword [esp + 0x14], ebp
mov eax, ebp
mov dword [eax], 0
add eax, 0x108
dec edx
jne 0x40395d
mov eax, dword [esp + 0x9e4]
mov dword [ecx], 0
test eax, eax
jne 0x403b56
mov eax, dword [ebx + 0x2368]
mov edx, dword [eax + 0x30]
mov esi, dword [edx - 8]
test esi, esi
je 0x403b56
mov dword [eax + 0xb84], 3
mov eax, dword [ebx + 0x1924]
test eax, eax
je 0x403af9
jmp 0x4039b2
mov eax, dword [esp + 0x18]
mov esi, eax
mov eax, dword [eax]
add esi, 8
lea ecx, [esp + 0x58]
push esi
mov dword [esp + 0x1c], eax
call fcn.00482375
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x60]
call fcn.00482375
lea edx, [esi + 8]
lea ecx, [esp + 0x60]
push edx
call fcn.00482375
lea eax, [esi + 0xc]
lea ecx, [esp + 0x64]
push eax
call fcn.00482375
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00482375
lea edx, [esi + 0x14]
lea ecx, [esp + 0x6c]
push edx
call fcn.00482375
lea eax, [esi + 0x18]
lea ecx, [esp + 0x70]
push eax
call fcn.00482375
lea ecx, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x88]
mov edx, dword [ecx]
mov dword [esp + 0x10], 5
mov dword [esp + 0x74], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x7c], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], eax
sub ebx, ecx
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea edx, [ebx + edi]
mov ecx, edi
push edx
call fcn.00482375
mov eax, dword [esp + 0x10]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x403a50
lea eax, [esi + 0x54]
lea ecx, [esp + 0xac]
push eax
call fcn.00482375
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00482375
lea edx, [esi + 0x5c]
lea ecx, [esp + 0xb4]
push edx
call fcn.00482375
mov eax, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0xbc]
mov dword [esp + 0xb8], eax
mov eax, 1
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0xb8], eax
jne 0x403ade
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x2368]
mov dword [edx + 0xb84], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4039ae
mov ecx, dword [esp + 0x9e8]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [ecx], 1
mov eax, dword [ebx + 0x2368]
lea edx, [ecx + 4]
or ecx, 0xffffffff
mov edi, dword [eax + 0x30]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x2368]
cmp dword [eax + 0xb84], 1
jne 0x403b49
mov ecx, dword [eax + 0xb8c]
mov eax, 2
not ecx
test ch, 2
jne 0x403b4e
mov eax, 1
mov dword [ebp], eax
jmp 0x403e2d
mov esi, dword [ebx + 0x1924]
test esi, esi
je 0x403e2d
jmp 0x403b6a
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
add esi, 8
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edx
call fcn.00482375
lea eax, [esi + 4]
lea ecx, [esp + 0x5c]
push eax
call fcn.00482375
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x64]
call fcn.00482375
lea edx, [esi + 0xc]
lea ecx, [esp + 0x64]
push edx
call fcn.00482375
lea eax, [esi + 0x10]
lea ecx, [esp + 0x68]
push eax
call fcn.00482375
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x70]
call fcn.00482375
lea edx, [esi + 0x18]
lea ecx, [esp + 0x70]
push edx
call fcn.00482375
lea eax, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x88]
mov ecx, dword [eax]
mov dword [esp + 0x14], 5
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x58]
mov dword [esp + 0x80], edx
sub ebx, eax
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea ecx, [ebx + edi]
push ecx
mov ecx, edi
call fcn.00482375
mov eax, dword [esp + 0x14]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x403c06
lea edx, [esi + 0x54]
lea ecx, [esp + 0xac]
push edx
call fcn.00482375
lea eax, [esi + 0x58]
lea ecx, [esp + 0xb0]
push eax
call fcn.00482375
lea ecx, [esi + 0x5c]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00482375
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x9e4]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0xbc]
mov dword [esp + 0xb8], edx
cmp eax, 1
rep movsd dword es:[edi], dword [esi]
jne 0x403ca6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2368]
test dword [ecx + 0xb8c], 0x10000000
je 0x403ca6
cmp dword [esp + 0xb8], 5
je 0x403e21
mov edx, dword [esp + 0x70]
push 0
push edx
lea ecx, [esp + 0x28]
call fcn.00481bfd
test eax, eax
jne 0x403cde
lea eax, [esp + 0x70]
lea ecx, [esp + 0x20]
push eax
call fcn.00481bc9
mov ebp, dword [esp + 0x9e8]
mov ebx, dword [ebp]
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 1]
mov dword [ebp], ecx
jmp 0x403d21
mov edx, dword [esp + 0x9e8]
xor esi, esi
cmp dword [edx], 0
jbe 0x403d16
mov ebx, edx
lea edi, [ebx + 4]
mov eax, dword [esp + 0x70]
push eax
push edi
call fcn.00473380
add esp, 8
test eax, eax
je 0x403d12
mov eax, dword [ebx]
inc esi
add edi, 0x108
cmp esi, eax
jb 0x403cf1
jmp 0x403d16
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x9e8]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov edi, dword [esp + 0x70]
shl ecx, 5
add ecx, ebx
xor eax, eax
lea edx, [ebp + ecx*8 + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x9e4]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x403da1
lea eax, [ebx + 1]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [ebp + ecx*8]
mov ecx, dword [ebp + ecx*8]
cmp ecx, 2
je 0x403dda
mov edx, dword [esp + 0xb8]
mov ecx, 1
cmp edx, ecx
jne 0x403dd8
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x2368]
mov edx, dword [edx + 0xb8c]
not edx
test dh, 2
je 0x403dd8
mov ecx, 2
jmp 0x403dd8
cmp eax, 1
jne 0x403dda
lea eax, [ebx + 1]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [ebp + ecx*8]
mov ecx, dword [ebp + ecx*8]
cmp ecx, 4
je 0x403dda
mov ecx, dword [esp + 0xb8]
cmp ecx, 2
je 0x403dd3
cmp ecx, 4
mov ecx, 5
jne 0x403dd8
mov ecx, 4
mov dword [eax], ecx
call fcn.0044bde0
test eax, eax
je 0x403e21
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x14]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [ebp + edx*8]
lea edx, [esp + 0x5d4]
push eax
push ecx
push ebx
push str.dwCnt___d__szDeviceDesc___s__eDeviceStatus___d_n
push edx
call fcn.00471c30
add esp, 0x14
lea eax, [esp + 0x5d4]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x403b66
call fcn.0044bde0
test eax, eax
je 0x403ecd
push 0
lea ecx, [esp + 0x8d8]
push str.CInstall_::_GetInstallInfo_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 + 0x6d4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x6d4]
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 + 0x8d4]
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 + 0x6d4]
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 + 0x3c]
mov byte [esp + 0x9dc], 8
call fcn.00481abd
lea ecx, [esp + 0x20]
mov byte [esp + 0x9dc], 7
call fcn.00481abd
lea ecx, [esp + 0xb4]
mov dword [esp + 0x9dc], 0x13
call fcn.00482288
lea ecx, [esp + 0xb0]
mov byte [esp + 0x9dc], 0x12
call fcn.00482288
lea ecx, [esp + 0xac]
mov byte [esp + 0x9dc], 0x11
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0x8c]
push 8
push ecx
mov byte [esp + 0x9ec], 0x10
call fcn.00472130
lea ecx, [esp + 0x70]
mov byte [esp + 0x9dc], 0xf
call fcn.00482288
lea ecx, [esp + 0x6c]
mov byte [esp + 0x9dc], 0xe
call fcn.00482288
lea ecx, [esp + 0x68]
mov byte [esp + 0x9dc], 0xd
call fcn.00482288
lea ecx, [esp + 0x64]
mov byte [esp + 0x9dc], 0xc
call fcn.00482288
lea ecx, [esp + 0x60]
mov byte [esp + 0x9dc], 0xb
call fcn.00482288
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9dc], 0xa
call fcn.00482288
lea ecx, [esp + 0x58]
mov dword [esp + 0x9dc], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x9d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9d0
ret 8