Function at 0x1007cdd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x1010c070]
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.100749c0
push 7
push 0x100f98e4
lea ecx, [ebp - 0x340]
mov dword [ebp - 4], 0
call fcn.1001091a
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.1008e420
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 0x100f98f8
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 0x100f98f8
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 0x100f98f8
call esi
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x374], 0xf
mov dword [ebp - 0x378], 0
mov byte [ebp - 0x388], 0
jne 0x1007cf21
xor ecx, ecx
jmp 0x1007cf39
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007cf30
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x388]
call fcn.10005844
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 0x1007cf78
xor ecx, ecx
jmp 0x1007cf8a
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007cf81
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x370]
call fcn.10005844
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 0x1007cfc9
xor ecx, ecx
jmp 0x1007cfdb
lea ecx, [ebp - 0x328]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007cfd2
sub ecx, edx
push ecx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x358]
call fcn.10005844
mov byte [ebp - 4], 3
cmp dword [ebp - 0x378], 0
je 0x1007d056
cmp dword [ebp - 0x360], 0
je 0x1007d056
cmp dword [ebp - 0x348], 0
je 0x1007d056
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x1007d024
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
lea ecx, [edi + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x1007d03b
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x1007d052
push 0xffffffffffffffff
push 0
push eax
call fcn.100058bd
mov bl, 1
jmp 0x1007d058
xor bl, bl
mov eax, dword [ebp - 0x344]
cmp eax, 0x10
jb 0x1007d075
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 0x1007d0ad
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 0x1007d0e5
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 0x1007d11d
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.1008aeea
mov esp, ebp
pop ebp
ret