Function at 0x3001250e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x30034b3c]
xor ecx, ecx
cmp dword [0x3007721c], ecx
mov dword [ebp - 4], eax
jne 0x3001290a
mov eax, dword [ebp + 0x18]
cmp eax, ecx
je 0x30012536
mov dword [eax], ecx
push ebx
push esi
push edi
xor eax, eax
cmp word [0x300566d8], cx
lea edi, [ebp - 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x230], ecx
mov ebx, 0x30003884
je 0x300125ed
mov eax, dword [ebp + 8]
cmp word [eax], cx
je 0x300125ed
lea ecx, [ebp - 0x22c]
test ecx, ecx
je 0x300125ed
push 0x300566d8
push 0x105
push ecx
push ebx
push 0x30003f20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
call edi
cmp eax, esi
jne 0x300125bf
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x300125bf
and dword [ebp - 0x238], 0
jmp 0x300125f7
test esi, esi
je 0x300125e1
cmp esi, 0x104
jne 0x300125e1
push 0x18
pop esi
push 0x30003894
call fcn.30010597
pop ecx
mov dword [ebp - 0x238], esi
jmp 0x300125f7
and word [ebp - 0x22c], 0
xor esi, esi
jmp 0x300125d9
mov dword [ebp - 0x238], 0x57
lea eax, [ebp - 0x22c]
push eax
call edi
lea esi, [ebp + eax*2 - 0x22c]
push 0x2b
lea eax, [ebp - 0x22c]
push eax
call fcn.3001621d
test eax, eax
je 0x30012625
mov dword [ebp - 0x234], 1
mov esi, eax
push 0x2d
lea eax, [ebp - 0x22c]
push eax
call fcn.3001621d
test eax, eax
je 0x30012647
cmp eax, esi
mov dword [ebp - 0x23c], 1
jae 0x30012647
mov esi, eax
push 0x21
lea eax, [ebp - 0x22c]
push eax
call fcn.3001621d
xor ecx, ecx
cmp eax, ecx
je 0x3001266b
cmp eax, esi
mov dword [ebp - 0x230], 1
jae 0x3001266b
mov esi, eax
cmp dword [ebp - 0x238], ecx
mov word [esi], cx
jne 0x3001276c
cmp word [ebp - 0x22c], cx
je 0x3001276c
push 0x30003ef8
call fcn.300105be
lea eax, [ebp - 0x22c]
push eax
call fcn.300105be
push 0x14
lea eax, [ebp - 0x22c]
push eax
call fcn.300107e2
test eax, eax
jne 0x30012756
push 0x15
lea eax, [ebp - 0x22c]
push eax
call fcn.300107e2
test eax, eax
jne 0x30012756
push 0x16
lea eax, [ebp - 0x22c]
push eax
call fcn.300107e2
test eax, eax
je 0x300126f7
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x62
je 0x3001276c
mov dword [0x300771f8], 1
jmp 0x3001276c
push 0x17
lea eax, [ebp - 0x22c]
push eax
call fcn.300107e2
test eax, eax
je 0x30012721
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x72
je 0x3001276c
mov dword [0x300771fc], 1
jmp 0x3001276c
push 0x18
lea eax, [ebp - 0x22c]
push eax
call fcn.300107e2
test eax, eax
je 0x3001274b
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x66
je 0x3001276c
mov dword [0x30077204], 1
jmp 0x3001276c
push 0x1a
push 0
call fcn.3000d8cd
jmp 0x3001276c
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x6e
je 0x3001276c
mov dword [0x30077200], 1
cmp word [0x300566d8], 0
je 0x300127ec
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x300127ec
lea ecx, [ebp - 0x22c]
test ecx, ecx
je 0x300127ec
push 0x300566d8
push 0x105
push ecx
push ebx
push 0x30003ed4
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
call edi
cmp eax, esi
jne 0x300127c2
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x300127f3
test esi, esi
je 0x300127e0
cmp esi, 0x104
jne 0x300127e0
push 0x18
pop esi
push 0x30003894
call fcn.30010597
pop ecx
mov eax, esi
jmp 0x300127ef
and word [ebp - 0x22c], 0
xor esi, esi
jmp 0x300127dc
push 0x57
pop eax
test eax, eax
jne 0x3001283b
cmp word [ebp - 0x22c], 0
je 0x3001283b
push 0x30003ea4
call fcn.300105be
lea eax, [ebp - 0x22c]
push eax
call fcn.300105be
cmp word [ebp - 0x22c], 0x79
je 0x30012831
cmp word [ebp - 0x22c], 0x59
je 0x30012831
cmp word [ebp - 0x22c], 0x31
jne 0x3001283b
mov dword [ebp - 0x234], 1
xor edx, edx
cmp dword [ebp - 0x230], edx
mov eax, 0x300021a4
mov ecx, 0x30003ea0
jne 0x30012851
mov ecx, eax
cmp dword [ebp - 0x234], edx
je 0x30012860
mov eax, 0x30003e9c
jmp 0x3001286d
cmp dword [ebp - 0x23c], edx
je 0x3001286d
mov eax, 0x30003e98
push ecx
push eax
push 0x3000213c
lea eax, [ebp - 0xa]
push 2
push eax
call fcn.3000def7
xor ecx, ecx
add esp, 0x14
cmp dword [ebp - 0x230], ecx
mov dword [0x30076d5c], eax
je 0x3001289e
mov eax, dword [ebp + 0x18]
cmp eax, ecx
je 0x3001289e
mov dword [eax], 1
cmp word [ebp - 0xc], cx
je 0x300128e0
xor eax, eax
mov word [ebp - 0x20], cx
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push eax
push 0x30003e8c
lea eax, [ebp - 0x20]
push 0xa
push eax
call fcn.3000def7
add esp, 0x10
cmp dword [ebp + 0x10], 0x7fffffff
jbe 0x300128da
mov eax, 0x80070057
jmp 0x30012902
lea eax, [ebp - 0x20]
push eax
jmp 0x300128f7
cmp word [0x30077208], cx
je 0x30012907
cmp dword [ebp + 0x10], 0x7fffffff
ja 0x300128d3
push 0x30077208
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.3000d4b9
mov dword [0x30076d5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
call fcn.3001fd67
leave
ret 0x14