Function at 0x410c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465725
mov eax, dword fs:[0]
push eax
mov eax, 0x1a18
call fcn.00445ce0
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1968], ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00411ca8
test eax, eax
je 0x411044
xor eax, eax
mov esi, eax
mov dword [ebp - 0x1970], eax
mov dword [ebp - 0x1974], esi
mov dword [ebp - 0x196c], eax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
jb 0x410c7c
mov eax, dword [edi]
jmp 0x410c7e
mov eax, edi
push eax
push 0x800
lea eax, [ebp - 0x1114]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor ebx, ebx
inc ebx
cmp word [ebp - 0x1114], 0
je 0x410d9c
xor eax, eax
mov ecx, eax
mov esi, eax
cmp word [ebp + esi*2 - 0x1114], ax
jne 0x410d81
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x1114]
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x192c]
call fcn.00401720
mov byte [ebp - 4], bl
lea eax, [ebp - 0x192c]
cmp dword [ebp - 0x1918], 8
cmovae eax, dword [ebp - 0x192c]
push eax
push str.CryptInfo
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x410d56
cmp dword [ebp - 0x1918], 8
lea ecx, [ebp - 0x192c]
mov eax, dword [ebp - 0x191c]
lea edx, [ebp - 0x192c]
cmovae ecx, dword [ebp - 0x192c]
cmovae edx, dword [ebp - 0x192c]
push fcn.00442ef1
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x192c]
cmovae ecx, dword [ebp - 0x192c]
lea eax, [ebp - 0x1960]
push ecx
push eax
call fcn.00404d64
add esp, 0x14
lea eax, [ebp - 0x192c]
lea ecx, [ebp - 0x1974]
push eax
call fcn.0040478a
or dword [ebp - 0x1964], 0xffffffff
lea ecx, [ebp - 0x192c]
xor eax, eax
mov byte [ebp - 4], al
push eax
push ebx
cmp word [ebp + esi*2 - 0x1112], ax
je 0x410d91
call fcn.00401833
mov ecx, dword [ebp - 0x1964]
xor eax, eax
inc esi
inc ecx
cmp esi, 0x7ff
jl 0x410ca8
jmp 0x410d96
call fcn.00401833
mov esi, dword [ebp - 0x1974]
mov eax, dword [ebp - 0x1970]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x411035
cmp dword [edi + 0x14], 8
jb 0x410dbc
mov eax, dword [edi]
jmp 0x410dbe
mov eax, edi
push eax
push 0
push str.GpcFilesHashLen
push str.CryptInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x411035
mov ecx, 0x4b000
cmp eax, ecx
push 2
cmova eax, ecx
xor ecx, ecx
inc eax
pop edx
mov dword [ebp - 0x1964], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004413a2
mov dword [ebp - 0x1960], eax
pop ecx
test eax, eax
je 0x411035
push dword [ebp - 0x1964]
push 0
push eax
call fcn.00447ae0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x410e28
mov eax, dword [edi]
jmp 0x410e2a
mov eax, edi
push eax
push dword [ebp - 0x1964]
push dword [ebp - 0x1960]
push 0
push str.GpcFilesHash
push str.CryptInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x47d698
lea ecx, [ebp - 0x1944]
call fcn.00401720
mov byte [ebp - 4], 2
push dword [ebp - 0x1960]
call fcn.004012f1
pop ecx
push eax
push dword [ebp - 0x1960]
lea ecx, [ebp - 0x1944]
call fcn.00402a5c
push dword [ebp - 0x1960]
call fcn.004427e1
pop ecx
mov ecx, dword [ebp - 0x1968]
lea eax, [ebp - 0x1944]
push eax
call fcn.004109e9
jmp 0x411019
cmp dword [edi + 0x14], 8
jb 0x410ea8
mov ecx, dword [edi]
jmp 0x410eaa
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x410eb4
mov eax, dword [esi]
jmp 0x410eb6
mov eax, esi
push ecx
push 0
push str.Count
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1964], eax
test eax, eax
jle 0x411016
mov dword [ebp - 0x1960], ebx
cmp eax, ebx
jle 0x411016
push ecx
push ecx
lea ecx, [ebp - 0x1a24]
call fcn.00409cb1
mov byte [ebp - 4], 3
mov edx, 0x47fe64
push dword [ebp - 0x1960]
push ecx
lea ecx, [ebp - 0x1a14]
call fcn.0040a9e0
pop ecx
mov ecx, eax
call fcn.00411e14
push 0x100
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00447ae0
add esp, 0xc
lea eax, [ebp - 0x195c]
lea ecx, [ebp - 0x1a24]
push eax
call fcn.00409d83
cmp dword [eax + 0x14], 8
jb 0x410f41
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push ebx
lea ecx, [ebp - 0x195c]
call fcn.00401833
push 0x800
lea eax, [ebp - 0x1914]
push 0
push eax
call fcn.00447ae0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x410f7d
mov ecx, dword [edi]
jmp 0x410f7f
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x410f89
mov eax, dword [esi]
jmp 0x410f8b
mov eax, esi
push ecx
push 0x800
lea ecx, [ebp - 0x1914]
push ecx
push 0x47bb10
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1914]
push eax
lea ecx, [ebp - 0x192c]
call fcn.00401720
mov ecx, dword [ebp - 0x1968]
lea eax, [ebp - 0x192c]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00411062
mov eax, dword [ebp - 0x1968]
lea ecx, [ebp - 0x192c]
push 0
push ebx
inc dword [eax + 0xfc]
call fcn.00401833
lea ecx, [ebp - 0x1a24]
mov byte [ebp - 4], 2
call fcn.004094f8
mov eax, dword [ebp - 0x1960]
inc eax
mov dword [ebp - 0x1960], eax
cmp eax, dword [ebp - 0x1964]
jl 0x410ee1
add esi, 0x18
cmp esi, dword [ebp - 0x1970]
jne 0x410e9e
push 0
push ebx
lea ecx, [ebp - 0x1944]
call fcn.00401833
jmp 0x411037
xor ebx, ebx
lea ecx, [ebp - 0x1974]
call fcn.00404a2b
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441f6f
mov esp, ebp
pop ebp
ret 4