Function at 0x402b50
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x27e4
call fcn.00404860
mov dl, byte [0x415688]
push ebx
push ebp
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], dl
mov byte [esp + 0x1c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0xe4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x9c3
xor eax, eax
lea edi, [esp + 0xe5]
mov ebx, dword [esp + 0x27fc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor eax, eax
mov ecx, 0x9c4
mov edi, 0x411108
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0xe8]
push 0x2710
push eax
push str.Manufacturer
call ebp
cmp eax, 1
jb 0x402d92
lea edi, [esp + 0xe4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3d
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]
lea ecx, [esp + 0x20]
push ecx
call fcn.004047a0
inc eax
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x88]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
call fcn.004047a0
add esp, 0x10
test eax, eax
je 0x402c61
mov byte [eax], 0
push ebx
lea edx, [esp + 0xe8]
push 0x2710
lea eax, [esp + 0x88]
push edx
push eax
call ebp
cmp eax, 1
jb 0x402d92
mov al, byte [esp + 0xe4]
lea ebx, [esp + 0xe4]
test al, al
je 0x402d92
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebx], 0x3b
jne 0x402caf
push ebx
call ebp
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0x3b
je 0x402ca3
cmp byte [ebx], 0
je 0x402d92
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3d
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]
lea ecx, [esp + 0x20]
push ecx
call fcn.004047a0
lea edx, [esp + 0x24]
push 0x2c
push edx
mov esi, eax
call fcn.004047a0
mov ecx, dword [esp + 0x24]
add esp, 0x10
inc esi
mov dword [esp + 0x18], eax
lea edx, [ecx + 0x413818]
mov ecx, eax
sub ecx, esi
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 1]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
push eax
call fcn.00402460
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [eax + 0x411108]
or ecx, 0xffffffff
xor eax, eax
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 ecx, dword [esp + 0x10]
lea eax, [ecx + 0x411108]
push eax
call ebp
mov edx, dword [esp + 0x10]
push ebx
lea eax, [edx + eax + 1]
mov dword [esp + 0x14], eax
call ebp
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x402c9e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27e4
ret