Function at 0x10078240
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c41f3
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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
mov dword [ebp - 0x158], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x154], 0
call fcn.100759d0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x100782c5
mov eax, dword [esi]
jmp 0x100782c7
mov eax, esi
mov byte [eax], 0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
mov dword [ebp - 0x154], 1
cmovae eax, dword [ebp - 0x128]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0x100d3e22
push str.Guid
push str.RandGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x110]
inc ecx
cmp al, 0x30
jl 0x10078320
cmp al, 0x39
jle 0x1007832e
cmp al, 0x61
jl 0x10078328
cmp al, 0x66
jle 0x1007832e
sub al, 0x41
cmp al, 5
ja 0x1007838d
cmp ecx, 0x20
jl 0x10078310
xor eax, eax
cmp byte [ebp + ecx - 0x110], al
sete al
test eax, eax
je 0x1007838d
cmp byte [ebp - 0x110], 0
jne 0x10078362
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10005859
jmp 0x100784dc
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078370
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10005859
jmp 0x100784dc
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
push 0
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
neg eax
sbb edi, edi
inc edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x10
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x150]
call fcn.10074ae0
add esp, 4
mov ebx, eax
cmp esi, ebx
je 0x10078456
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10078431
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x10078428
test cl, 0x1f
je 0x10078404
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10078410
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x1007841c
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x10078426
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10078449
mov eax, dword [esi]
jmp 0x1007844b
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.10007941
mov eax, dword [ebp - 0x13c]
cmp eax, 0x10
jb 0x100784a6
mov ecx, dword [ebp - 0x150]
inc eax
cmp eax, 0x1000
jb 0x1007849d
test cl, 0x1f
je 0x10078479
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10078485
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x10078491
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x1007849b
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
test edi, edi
je 0x100784dc
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
cmp dword [esi + 0x14], 0x10
jb 0x100784c8
mov ecx, dword [esi]
jmp 0x100784ca
mov ecx, esi
push eax
push ecx
push str.Guid
push str.RandGuid
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x1007852c
mov ecx, dword [ebp - 0x128]
inc eax
cmp eax, 0x1000
jb 0x10078523
test cl, 0x1f
je 0x100784ff
call fcn.10091aa1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1007850b
call fcn.10091aa1
sub ecx, eax
cmp ecx, 4
jae 0x10078517
call fcn.10091aa1
cmp ecx, 0x23
jbe 0x10078521
call fcn.10091aa1
mov ecx, eax
push ecx
call fcn.1008bb42
add esp, 4
mov eax, esi
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