Function at 0x402090
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x27e8
call fcn.00403bc0
mov dl, byte [0x411d80]
push ebx
push ebp
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], dl
mov byte [esp + 0xe8], 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 + 0xe9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x9c4
mov edi, 0x40b978
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2800]
lea ecx, [esp + 0xe8]
push eax
push 0x2710
push ecx
push str.Manufacturer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, 1
jb 0x402390
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
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 + 0xe8]
push ecx
call ebp
lea ebx, [esp + eax + 0xe9]
mov al, byte [esp + eax + 0xe9]
test al, al
je 0x402196
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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]
call ebp
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x40215f
lea eax, [esp + 0x20]
push 0x3d
push eax
call fcn.00403b00
mov edx, eax
add esp, 8
inc edx
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xe8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2800]
push ecx
push 0x2710
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, 1
jb 0x402390
mov al, byte [esp + 0xe8]
lea ebx, [esp + 0xe8]
test al, al
je 0x40232f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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]
call ebp
lea ebx, [ebx + eax + 1]
mov al, byte [ebx]
cmp al, 0x25
je 0x402275
test al, al
je 0x402275
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
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]
call ebp
lea ebx, [ebx + eax + 1]
mov al, byte [ebx]
cmp al, 0x25
jne 0x402239
lea eax, [esp + 0x20]
push 0x3d
push eax
call fcn.00403b00
lea ecx, [esp + 0x28]
push 0x2c
push ecx
mov esi, eax
call fcn.00403b00
mov edx, dword [esp + 0x24]
add esp, 0x10
inc esi
mov ecx, eax
sub ecx, esi
mov dword [esp + 0x1c], eax
lea edx, [edx + 0x40e088]
mov eax, ecx
mov edi, edx
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 + 0x1c]
inc eax
mov dword [esp + 0x14], edx
push eax
call fcn.00401a20
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 + 0x40b978]
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 + 0x40b978]
push eax
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc ecx
lea eax, [edx + eax + 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov al, byte [ebx]
test al, al
jne 0x402209
mov edi, str.total_HardwareId:
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00408a72
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
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]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27e8
ret