Function at 0x1007da10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c48dc
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x1010e070]
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.10075600
push 7
push 0x100fabfc
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0
call fcn.1001097a
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1008f060
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.1008f060
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.1008f060
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 0x100fac10
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 0x100fac10
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 0x100fac10
call esi
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
jne 0x1007db61
xor ecx, ecx
jmp 0x1007db79
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007db70
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x388]
call fcn.10005859
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 0x1007dbb8
xor ecx, ecx
jmp 0x1007dbca
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007dbc1
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x370]
call fcn.10005859
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 0x1007dc09
xor ecx, ecx
jmp 0x1007dc1b
lea ecx, [ebp - 0x328]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007dc12
sub ecx, edx
push ecx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x358]
call fcn.10005859
mov byte [ebp - 4], 3
cmp dword [ebp - 0x378], 0
je 0x1007dc96
cmp dword [ebp - 0x360], 0
je 0x1007dc96
cmp dword [ebp - 0x348], 0
je 0x1007dc96
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x1007dc64
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x1007dc7b
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x1007dc92
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
mov bl, 1
jmp 0x1007dc98
xor bl, bl
mov eax, dword [ebp - 0x344]
cmp eax, 0x10
jb 0x1007dcb5
push 1
inc eax
push eax
push dword [ebp - 0x358]
call fcn.10001f08
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 0x1007dced
push 1
inc eax
push eax
push dword [ebp - 0x370]
call fcn.10001f08
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 0x1007dd25
push 1
inc eax
push eax
push dword [ebp - 0x388]
call fcn.10001f08
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 0x1007dd5d
push 1
inc ecx
push ecx
push dword [ebp - 0x340]
call fcn.10001f08
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.1008bb47
mov esp, ebp
pop ebp
ret