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

Disassembly:
sub esp, 0x5e4
push ebx
push ebp
push esi
push edi
mov ecx, 0x13
mov esi, str.SYSTEMCurrentControlSetControlClass4D36E96D_E325_11CE_BFC1_08002BE10318
lea edi, [esp + 0x3f4]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x2c
lea edi, [esp + 0x442]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4062a4]
mov ecx, 0x1f
mov dword [esp + 0xf4], eax
xor eax, eax
lea edi, [esp + 0xf8]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUnimodemDeviceSpecific
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x4f4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x2f
lea edi, [esp + 0x536]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x70]
push ecx
push 2
push str.Modem
push str.MDMESS.INF
stosw word es:[edi], ax
call dword [0x409204]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
jne 0x4011d1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push eax
push str.ESS.IHV
push edi
call dword [0x409208]
mov esi, eax
cmp esi, ebx
je 0x401260
lea ecx, [esp + 0x50]
lea edx, [esp + 0x374]
push ecx
push pe_nt_image_headers32
push edx
lea eax, [esp + 0x6c]
push 2
push eax
call dword [0x40920c]
cmp eax, ebx
je 0x40134b
mov ebp, str.UNIMODEM5E4806DE
lea edi, [esp + 0x374]
mov cl, byte [edi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x401253
cmp al, bl
je 0x40124f
mov dl, byte [edi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x401253
add edi, 2
add ebp, 2
cmp al, bl
jne 0x40122a
xor eax, eax
jmp 0x401258
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x401276
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc ecx
cmp esi, ebx
mov dword [esp + 0x14], ecx
je 0x401345
jmp 0x4011db
mov esi, dword [0x40920c]
lea eax, [esp + 0x50]
push eax
push pe_nt_image_headers32
push 0x408938
lea ecx, [esp + 0x6c]
push 1
push ecx
call esi
cmp eax, ebx
jne 0x4012b0
mov edx, dword [esp + 0x18]
push edx
call dword [0x409210]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret
lea eax, [esp + 0x50]
lea ecx, [esp + 0x60]
push eax
push pe_nt_image_headers32
push 0x4088b8
push ebx
push ecx
call esi
cmp eax, ebx
jne 0x4012e3
mov edx, dword [esp + 0x18]
push edx
call dword [0x409210]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret
mov edi, 0x408938
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x54], 1
mov eax, ecx
mov esi, edi
mov edi, edx
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]
mov edi, 0x40622c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x408938
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x54], ebx
jne 0x40135f
push edi
call dword [0x409210]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret
call section..text
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x3f4]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000002
call dword [0x409148]
mov ebp, dword [0x40915c]
test eax, eax
jne 0x4017de
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x10]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x4088b0
push eax
call dword [0x409154]
test eax, eax
je 0x4013cb
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x409150]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret
mov edi, str.COM3
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.COM3
push 1
push ebx
push str.AttachedTo
push edx
call ebp
mov edi, 0x4088b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
push ecx
push 0x4088b8
push 1
push ebx
push str.FriendlyName
push eax
call ebp
mov edi, str.ESS_Technology__Inc.
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push str.ESS_Technology__Inc.
push 1
push ebx
push str.Manufacturer
push ecx
call ebp
mov edi, 0x4088b8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4088b8
push 1
push ebx
push str.Model
push edx
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 3
push ebx
push 0x4061f4
push ecx
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 3
mov byte [esp + 0x2f], bl
call ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
push 0x200
push ebx
push edx
push 0x1f
push 0x408938
push eax
call dword [0x409220]
push eax
call dword [0x409214]
mov ecx, dword [str.mdmess.inf]
mov ax, word [0x4061f0]
mov edx, dword [0x4061ec]
mov dword [esp + 0x74], ecx
mov cl, byte [0x4061f2]
mov word [esp + 0x7c], ax
mov byte [esp + 0x7e], cl
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x7f]
mov dword [esp + 0x78], edx
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [esp + 0x74]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
push ecx
push edx
push 1
push ebx
push str.InfPath
push eax
call ebp
lea edi, [esp + 0x2f4]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2f8]
push ecx
push 1
push ebx
push str.InfSection
push edx
call ebp
mov eax, dword [0x40622c]
mov ecx, 0x1f
mov dword [esp + 0x174], eax
xor eax, eax
lea edi, [esp + 0x178]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x174]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x178]
push ecx
push 1
push ebx
push str.InfSectionExt
push edx
call ebp
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push ebx
push str.ProviderName
push ecx
call ebp
mov edi, 0x4088b8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4088b8
push 1
push ebx
push str.DriverDesc
push edx
call ebp
or ecx, 0xffffffff
mov edi, 0x4088b8
xor eax, eax
lea edx, [esp + 0x1f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x1f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x4061a4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ESS_Technology__Inc.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4061a4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1f4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1f4]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push ebx
push str.ResponsesKeyName
push ecx
call ebp
mov al, 0xa
mov byte [esp + 0x30], 0x1c
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0xe1
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0x15
mov byte [esp + 0x39], 0x20
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 8
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x11
mov byte [esp + 0x46], 0x13
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x1c], 0x3c
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 1
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x13
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0x14
push edx
push 3
push ebx
push str.Default
push eax
mov byte [esp + 0x45], 1
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0x1c
push ecx
push 3
push ebx
push 0x406184
push edx
call ebp
mov eax, dword [esp + 0x10]
mov edi, dword [0x409150]
push eax
call edi
mov ecx, dword [esp + 0x4c]
push ecx
call edi
jmp 0x4017e4
mov edi, dword [0x409150]
mov edx, dword [esp + 0x18]
push edx
call dword [0x409210]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x4f4]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000002
mov dword [esp + 0x70], 1
call dword [0x409148]
test eax, eax
jne 0x401863
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x58]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [esp + 0x20c]
push ebx
push eax
push ecx
call dword [0x409154]
test eax, eax
jne 0x40185c
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push 4
push edx
push 4
push ebx
push str.RefCount
push eax
call ebp
mov ecx, dword [esp + 0x58]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5e4
ret