Function at 0x30011d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x30034be8]
xor ecx, ecx
cmp dword [0x300771b4], ecx
mov dword [ebp - 4], eax
jne 0x3001216c
mov eax, dword [ebp + 0x18]
cmp eax, ecx
je 0x30011d98
mov dword [eax], ecx
push ebx
push esi
push edi
xor eax, eax
cmp word [0x30056678], 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, 0x30003844
je 0x30011e4f
mov eax, dword [ebp + 8]
cmp word [eax], cx
je 0x30011e4f
lea ecx, [ebp - 0x22c]
test ecx, ecx
je 0x30011e4f
push 0x30056678
push 0x105
push ecx
push ebx
push 0x30003ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
call edi
cmp eax, esi
jne 0x30011e21
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x30011e21
and dword [ebp - 0x238], 0
jmp 0x30011e59
test esi, esi
je 0x30011e43
cmp esi, 0x104
jne 0x30011e43
push 0x18
pop esi
push 0x30003854
call fcn.3000fdf9
pop ecx
mov dword [ebp - 0x238], esi
jmp 0x30011e59
and word [ebp - 0x22c], 0
xor esi, esi
jmp 0x30011e3b
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.30015a7f
test eax, eax
je 0x30011e87
mov dword [ebp - 0x234], 1
mov esi, eax
push 0x2d
lea eax, [ebp - 0x22c]
push eax
call fcn.30015a7f
test eax, eax
je 0x30011ea9
cmp eax, esi
mov dword [ebp - 0x23c], 1
jae 0x30011ea9
mov esi, eax
push 0x21
lea eax, [ebp - 0x22c]
push eax
call fcn.30015a7f
xor ecx, ecx
cmp eax, ecx
je 0x30011ecd
cmp eax, esi
mov dword [ebp - 0x230], 1
jae 0x30011ecd
mov esi, eax
cmp dword [ebp - 0x238], ecx
mov word [esi], cx
jne 0x30011fce
cmp word [ebp - 0x22c], cx
je 0x30011fce
push 0x30003eb8
call fcn.3000fe20
lea eax, [ebp - 0x22c]
push eax
call fcn.3000fe20
push 0x14
lea eax, [ebp - 0x22c]
push eax
call fcn.30010044
test eax, eax
jne 0x30011fb8
push 0x15
lea eax, [ebp - 0x22c]
push eax
call fcn.30010044
test eax, eax
jne 0x30011fb8
push 0x16
lea eax, [ebp - 0x22c]
push eax
call fcn.30010044
test eax, eax
je 0x30011f59
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x62
je 0x30011fce
mov dword [0x30077190], 1
jmp 0x30011fce
push 0x17
lea eax, [ebp - 0x22c]
push eax
call fcn.30010044
test eax, eax
je 0x30011f83
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x72
je 0x30011fce
mov dword [0x30077194], 1
jmp 0x30011fce
push 0x18
lea eax, [ebp - 0x22c]
push eax
call fcn.30010044
test eax, eax
je 0x30011fad
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x66
je 0x30011fce
mov dword [0x3007719c], 1
jmp 0x30011fce
push 0x1a
push 0
call fcn.3000d12f
jmp 0x30011fce
cmp dword [ebp + 0x14], 0
mov word [ebp - 0xc], 0x6e
je 0x30011fce
mov dword [0x30077198], 1
cmp word [0x30056678], 0
je 0x3001204e
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x3001204e
lea ecx, [ebp - 0x22c]
test ecx, ecx
je 0x3001204e
push 0x30056678
push 0x105
push ecx
push ebx
push 0x30003e94
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
call edi
cmp eax, esi
jne 0x30012024
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x30012055
test esi, esi
je 0x30012042
cmp esi, 0x104
jne 0x30012042
push 0x18
pop esi
push 0x30003854
call fcn.3000fdf9
pop ecx
mov eax, esi
jmp 0x30012051
and word [ebp - 0x22c], 0
xor esi, esi
jmp 0x3001203e
push 0x57
pop eax
test eax, eax
jne 0x3001209d
cmp word [ebp - 0x22c], 0
je 0x3001209d
push 0x30003e64
call fcn.3000fe20
lea eax, [ebp - 0x22c]
push eax
call fcn.3000fe20
cmp word [ebp - 0x22c], 0x79
je 0x30012093
cmp word [ebp - 0x22c], 0x59
je 0x30012093
cmp word [ebp - 0x22c], 0x31
jne 0x3001209d
mov dword [ebp - 0x234], 1
xor edx, edx
cmp dword [ebp - 0x230], edx
mov eax, 0x30002184
mov ecx, 0x30003e60
jne 0x300120b3
mov ecx, eax
cmp dword [ebp - 0x234], edx
je 0x300120c2
mov eax, 0x30003e5c
jmp 0x300120cf
cmp dword [ebp - 0x23c], edx
je 0x300120cf
mov eax, 0x30003e58
push ecx
push eax
push 0x3000211c
lea eax, [ebp - 0xa]
push 2
push eax
call fcn.3000d759
xor ecx, ecx
add esp, 0x14
cmp dword [ebp - 0x230], ecx
mov dword [0x30076cfc], eax
je 0x30012100
mov eax, dword [ebp + 0x18]
cmp eax, ecx
je 0x30012100
mov dword [eax], 1
cmp word [ebp - 0xc], cx
je 0x30012142
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 0x30003e4c
lea eax, [ebp - 0x20]
push 0xa
push eax
call fcn.3000d759
add esp, 0x10
cmp dword [ebp + 0x10], 0x7fffffff
jbe 0x3001213c
mov eax, 0x80070057
jmp 0x30012164
lea eax, [ebp - 0x20]
push eax
jmp 0x30012159
cmp word [0x300771a0], cx
je 0x30012169
cmp dword [ebp + 0x10], 0x7fffffff
ja 0x30012135
push 0x300771a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.3000cd1d
mov dword [0x30076cfc], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
call fcn.3001f57d
leave
ret 0x14