Function at 0x1007c8c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c357c
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x340]
call fcn.100744b0
push 7
push 0x100f8904
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0
call fcn.100108ca
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.1008df10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x340]
add esp, 0xc
cmp dword [ebp - 0x32c], 0x10
cmovae eax, dword [ebp - 0x340]
push eax
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
push str.SerialNumber
push 0x100f8918
call esi
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
cmovae eax, dword [ebp - 0x340]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push str.ModelNumber
push 0x100f8918
call esi
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
cmovae eax, dword [ebp - 0x340]
push eax
push 0x104
lea eax, [ebp - 0x328]
push eax
push 0
push str.RevisionNumber
push 0x100f8918
call esi
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
jne 0x1007ca11
xor ecx, ecx
jmp 0x1007ca29
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ca20
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x388]
call fcn.100057f3
mov byte [ebp - 4], 1
cmp byte [ebp - 0x220], 0
mov dword [ebp - 0x35c], 0xf
mov dword [ebp - 0x360], 0
mov byte [ebp - 0x370], 0
jne 0x1007ca68
xor ecx, ecx
jmp 0x1007ca7a
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ca71
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x370]
call fcn.100057f3
mov byte [ebp - 4], 2
cmp byte [ebp - 0x328], 0
mov dword [ebp - 0x344], 0xf
mov dword [ebp - 0x348], 0
mov byte [ebp - 0x358], 0
jne 0x1007cab9
xor ecx, ecx
jmp 0x1007cacb
lea ecx, [ebp - 0x328]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007cac2
sub ecx, edx
push ecx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x358]
call fcn.100057f3
mov byte [ebp - 4], 3
cmp dword [ebp - 0x378], 0
je 0x1007cb46
cmp dword [ebp - 0x360], 0
je 0x1007cb46
cmp dword [ebp - 0x348], 0
je 0x1007cb46
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x1007cb14
push 0xffffffffffffffff
push 0
push eax
call fcn.1000586c
lea ecx, [edi + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x1007cb2b
push 0xffffffffffffffff
push 0
push eax
call fcn.1000586c
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x1007cb42
push 0xffffffffffffffff
push 0
push eax
call fcn.1000586c
mov bl, 1
jmp 0x1007cb48
xor bl, bl
mov eax, dword [ebp - 0x344]
cmp eax, 0x10
jb 0x1007cb65
push 1
inc eax
push eax
push dword [ebp - 0x358]
call fcn.10001ef8
add esp, 0xc
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x344], 0xf
mov dword [ebp - 0x348], 0
mov byte [ebp - 0x358], 0
cmp eax, 0x10
jb 0x1007cb9d
push 1
inc eax
push eax
push dword [ebp - 0x370]
call fcn.10001ef8
add esp, 0xc
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x35c], 0xf
mov dword [ebp - 0x360], 0
mov byte [ebp - 0x370], 0
cmp eax, 0x10
jb 0x1007cbd5
push 1
inc eax
push eax
push dword [ebp - 0x388]
call fcn.10001ef8
add esp, 0xc
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
cmp ecx, 0x10
jb 0x1007cc0d
push 1
inc ecx
push ecx
push dword [ebp - 0x340]
call fcn.10001ef8
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret