Function at 0x10078730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c426b
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.1008cee0
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 esi, ecx
cmp dword [esi + 0x14], 0x10
mov ebx, dword [ebp + 0xc]
jb 0x10078771
mov eax, dword [esi]
jmp 0x10078773
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x100d3e22
push str.Guid
push str.ActiveGuid
call edi
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x1010]
inc ecx
cmp al, 0x30
jl 0x100787b0
cmp al, 0x39
jle 0x100787c2
cmp al, 0x61
jl 0x100787b8
cmp al, 0x66
jle 0x100787c2
sub al, 0x41
cmp al, 5
ja 0x10078b27
cmp ecx, 0x20
jl 0x100787a0
xor eax, eax
cmp byte [ebp + ecx - 0x1010], al
sete al
test eax, eax
je 0x10078b27
cmp byte [ebp - 0x1010], 0
jne 0x100787e8
xor ecx, ecx
jmp 0x100787fa
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100787f1
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
mov ecx, ebx
push eax
call fcn.10005859
cmp dword [esi + 0x14], 0x10
jb 0x10078813
mov eax, dword [esi]
jmp 0x10078815
mov eax, esi
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x100d3e22
push str.DiskKey
push str.ActiveGuid
call edi
cmp byte [ebp - 0x1010], 0
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
jne 0x1007885b
xor ecx, ecx
jmp 0x1007886d
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078864
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10005859
push ecx
mov edx, str.PID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.10075120
mov edx, str.SN:
lea ecx, [ebp - 0x1028]
call fcn.10075120
lea ecx, [ebx + 0x18]
add esp, 4
lea eax, [ebp - 0x1028]
cmp ecx, eax
je 0x100788c2
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
cmp dword [esi + 0x14], 0x10
jb 0x100788cc
mov eax, dword [esi]
jmp 0x100788ce
mov eax, esi
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x100d3e22
push str.DiskDetail
push str.ActiveGuid
call edi
cmp byte [ebp - 0x1010], 0
jne 0x100788f9
xor ecx, ecx
jmp 0x1007890b
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078902
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10005859
push ecx
mov edx, str.PID:
lea ecx, [ebp - 0x1028]
call fcn.10075120
mov edx, str.VID:
lea ecx, [ebp - 0x1028]
call fcn.10075120
mov edx, str.SN:
lea ecx, [ebp - 0x1028]
call fcn.10075120
lea ecx, [ebx + 0x30]
add esp, 4
lea eax, [ebp - 0x1028]
cmp ecx, eax
je 0x10078969
push 0xffffffffffffffff
push 0
push eax
call fcn.100058d2
cmp dword [esi + 0x14], 0x10
jb 0x10078973
mov eax, dword [esi]
jmp 0x10078975
mov eax, esi
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x100d3e22
push str.AdapterKey
push str.ActiveGuid
call edi
cmp byte [ebp - 0x1010], 0
jne 0x100789a0
xor ecx, ecx
jmp 0x100789b9
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100789b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebx + 0x48]
call fcn.10005859
cmp dword [esi + 0x14], 0x10
jb 0x100789d3
mov eax, dword [esi]
jmp 0x100789d5
mov eax, esi
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x100d3e22
push str.AdapterDetail
push str.ActiveGuid
call edi
cmp byte [ebp - 0x1010], 0
jne 0x10078a00
xor ecx, ecx
jmp 0x10078a19
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078a10
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebx + 0x60]
call fcn.10005859
cmp dword [esi + 0x14], 0x10
jb 0x10078a33
mov eax, dword [esi]
jmp 0x10078a35
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0xffffffffffffffff
push str.CreateIndex
push str.ActiveGuid
call edi
mov dword [ebx + 0x80], eax
cmp dword [esi + 0x14], 0x10
jb 0x10078a5a
mov eax, dword [esi]
jmp 0x10078a5c
mov eax, esi
push eax
push 0
push str.CreateTime
push str.ActiveGuid
call edi
mov dword [ebx + 0x84], eax
cmp dword [esi + 0x14], 0x10
jb 0x10078a7b
mov eax, dword [esi]
jmp 0x10078a7d
mov eax, esi
push eax
push 0
push str.Score
push str.ActiveGuid
call edi
mov dword [ebx + 0x88], eax
cmp dword [esi + 0x14], 0x10
jb 0x10078a9c
mov eax, dword [esi]
jmp 0x10078a9e
mov eax, esi
push eax
push 0
push str.Reason
push str.ActiveGuid
call edi
mov dword [ebx + 0x8c], eax
cmp dword [esi + 0x14], 0x10
jb 0x10078abb
mov esi, dword [esi]
push esi
push 0
push str.Version
push str.ActiveGuid
call edi
mov dword [ebx + 0x90], eax
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x10078b20
mov ecx, dword [ebp - 0x1028]
inc eax
cmp eax, 0x1000
jb 0x10078b17
test cl, 0x1f
je 0x10078af3
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10078aff
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x10078b0b
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x10078b15
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
mov eax, 1
jmp 0x10078b2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
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 8