Function at 0x1007c640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c31dc
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.10074230
push 7
push 0x100f8024
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0
call fcn.1001097a
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.1008dc90
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 0x100f8038
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 0x100f8038
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 0x100f8038
call esi
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
jne 0x1007c791
xor ecx, ecx
jmp 0x1007c7a9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c7a0
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 0x1007c7e8
xor ecx, ecx
jmp 0x1007c7fa
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c7f1
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 0x1007c839
xor ecx, ecx
jmp 0x1007c84b
lea ecx, [ebp - 0x328]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c842
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 0x1007c8c6
cmp dword [ebp - 0x360], 0
je 0x1007c8c6
cmp dword [ebp - 0x348], 0
je 0x1007c8c6
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x1007c894
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x1007c8ab
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x1007c8c2
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
mov bl, 1
jmp 0x1007c8c8
xor bl, bl
mov eax, dword [ebp - 0x344]
cmp eax, 0x10
jb 0x1007c8e5
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 0x1007c91d
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 0x1007c955
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 0x1007c98d
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.1008a777
mov esp, ebp
pop ebp
ret