Function at 0x1000c975
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1001b468
call fcn.1001a990
sub esp, 0x144
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
jne 0x1000c99c
mov eax, 0x80070057
jmp 0x1000cca7
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x24], ebx
call dword [ecx + 0xa0]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cca4
cmp dword [ebp - 0x24], ebx
je 0x1000cca4
push edi
lea ecx, [ebp - 0x34]
push dword [ebp - 0x24]
call fcn.10003486
push dword [ebp - 0x24]
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], ebx
call fcn.10001c0d
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_CharLowerA]
xor eax, eax
lea edi, [ebp - 0x4b]
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x44], bl
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x43]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0xcf]
mov byte [ebp - 0xd0], bl
push 0x1f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14f]
mov byte [ebp - 0x150], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 0x1a]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0x4c]
push 6
push eax
push 0x100213cc
push str.count
push str.extern
call esi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], ebx
jle 0x1000cc97
mov edi, 0x80
push 0xc
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [ebp - 0xd0]
push ebx
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [ebp - 0x150]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push str.url_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x30
lea eax, [ebp - 0xd0]
push dword [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x44]
push 0x100213cc
push eax
push str.extern
call esi
push 0xc
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push str.jsurl_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x150]
push dword [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x44]
push 0x100213cc
push eax
push str.extern
call esi
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c1f9
test eax, eax
jl 0x1000cc88
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
push 0x1001d3ac
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc88
cmp dword [ebp - 0x20], ebx
je 0x1000cc88
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x1001d39c
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc7c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000cc7c
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc70
cmp dword [ebp - 0x1c], ebx
je 0x1000cc70
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc64
cmp dword [ebp - 0x18], ebx
je 0x1000cc64
mov eax, dword [ebp - 0x1c]
push 1
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc58
mov eax, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc58
push 0xffffffffffffffff
push str._defer_src
call fcn.10002c73
pop ecx
mov dword [ebp - 0x30], eax
pop ecx
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.100033b5
push 0x10021cc4
lea ecx, [ebp - 0x30]
call fcn.100033b5
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp - 0x30]
mov ecx, dword [eax]
push 0x53
push eax
call dword [ecx + 0x14]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1000cc4c
cmp dword [ebp - 0x2c], ebx
je 0x1000cc4c
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x20], ebx
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x50]
jl 0x1000ca71
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100018ba
pop edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4