Function at 0x4015f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x38
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
push 0x24
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
cmp ecx, 0xa
mov dword [esp + 0x10], ecx
jb 0x40160d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
push 8
call edi
push eax
call esi
push 0x400
push 8
mov dword [esp + 0x20], eax
call edi
push eax
call esi
mov edi, dword [ebp + 0xa4]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
push str.inf_path___s
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, str.ausbser.inf
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
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 esi, [ebp + 0x9c]
push esi
call fcn.0040e39f
mov eax, dword [esi]
mov ecx, dword [ebp + 0x78]
add esp, 0xc
push eax
push 0
push 0x180
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
call dword [ebp + 0xb4]
test eax, eax
je 0x4017a2
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push edi
lea edx, [esp + 0x24]
push ecx
push edx
call dword [ebp + 0xc4]
test eax, eax
jne 0x401745
push str.There_is_no_matched_HardwareID
push eax
mov eax, dword [ebp + 0x78]
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x40
push edi
push str.USB_to_UART_Bridge_Controller
push str.ALCORMICRO_CDC
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push str.Please_plugin__s_then_press_OK.
push esi
call fcn.0040e39f
mov eax, dword [esi]
add esp, 0xc
push 0
push 1
push eax
call fcn.00414104
cmp eax, 1
je 0x4016dc
jmp 0x4017a6
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x401760
push 0xffffffffffffffff
push str.SkipWHQL.exe
call dword [ebp + 0xb8]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push edi
push 0
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
test eax, eax
jne 0x401782
push str.UpdateDriverForPlugAndPlayDevices
mov ecx, ebp
call fcn.00401550
jmp 0x4017a6
mov edx, dword [ebp + 0x78]
push str.driver_install_succeed
push 0
push 0x180
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4017a6
mov edi, dword [esp + 0x18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push edi
push 0
call ebx
push eax
call esi
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + eax*4 + 0x20]
push eax
push 0
call ebx
push eax
call esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jb 0x4017c8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret