Function at 0x10077600
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c34a3
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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 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.10074d90
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 0x10077685
mov eax, dword [esi]
jmp 0x10077687
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 0x100d2e02
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 0x100776e0
cmp al, 0x39
jle 0x100776ee
cmp al, 0x61
jl 0x100776e8
cmp al, 0x66
jle 0x100776ee
sub al, 0x41
cmp al, 5
ja 0x1007774d
cmp ecx, 0x20
jl 0x100776d0
xor eax, eax
cmp byte [ebp + ecx - 0x110], al
sete al
test eax, eax
je 0x1007774d
cmp byte [ebp - 0x110], 0
jne 0x10077722
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10005844
jmp 0x1007789c
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10077730
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10005844
jmp 0x1007789c
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.10073ea0
add esp, 4
mov ebx, eax
cmp esi, ebx
je 0x10077816
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x100777f1
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x100777e8
test cl, 0x1f
je 0x100777c4
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100777d0
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x100777dc
call fcn.10090e61
cmp ecx, 0x23
jbe 0x100777e6
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10077809
mov eax, dword [esi]
jmp 0x1007780b
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.10007921
mov eax, dword [ebp - 0x13c]
cmp eax, 0x10
jb 0x10077866
mov ecx, dword [ebp - 0x150]
inc eax
cmp eax, 0x1000
jb 0x1007785d
test cl, 0x1f
je 0x10077839
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10077845
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x10077851
call fcn.10090e61
cmp ecx, 0x23
jbe 0x1007785b
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
test edi, edi
je 0x1007789c
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
cmp dword [esi + 0x14], 0x10
jb 0x10077888
mov ecx, dword [esi]
jmp 0x1007788a
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 0x100778ec
mov ecx, dword [ebp - 0x128]
inc eax
cmp eax, 0x1000
jb 0x100778e3
test cl, 0x1f
je 0x100778bf
call fcn.10090e61
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100778cb
call fcn.10090e61
sub ecx, eax
cmp ecx, 4
jae 0x100778d7
call fcn.10090e61
cmp ecx, 0x23
jbe 0x100778e1
call fcn.10090e61
mov ecx, eax
push ecx
call fcn.1008aee5
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.1008aeea
mov esp, ebp
pop ebp
ret