Function at 0x10003160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10168ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x101ccf60]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x20]
push 0x208
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x270], esi
call fcn.10146f60
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x101d78d8]
push 0x104
push eax
push str.false
push str.LocationPosTextDebug
push 0x101aef6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
cmp word [ebp - 0x218], ax
jne 0x10003210
xor ecx, ecx
jmp 0x1000322f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003220
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x268]
call fcn.10006790
push ecx
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0
call fcn.10005b80
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
test eax, eax
jne 0x100033b7
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x10003280
mov eax, dword [ecx]
jmp 0x10003282
mov eax, ecx
push 0xd
xor edx, edx
push str.TW___________
mov word [eax], dx
call fcn.10006790
call fcn.10002a50
add esp, 0x18
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x220]
push esi
call fcn.10006540
mov byte [ebp - 4], 1
call fcn.1000f0c5
mov ecx, eax
test ecx, ecx
jne 0x100032ca
push 0x80004005
call fcn.10001d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push edi
push ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x21c]
push dword [ebp - 0x220]
push str.Ling_Debug_Value:_s__X_d_Y_d_T_1_B_1_L_1_R_1_
push eax
call fcn.100087d0
mov esi, dword [ebp - 0x21c]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x10003318
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.100071b0
mov esi, dword [ebp - 0x21c]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x10003335
mov eax, dword [edx]
jmp 0x10003337
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x10003363
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003350
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10006790
call fcn.10002a50
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
add esp, 0x18
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10003392
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100033b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x270]
mov eax, dword [0x101d7938]
mov ecx, dword [0x101d793c]
cmp eax, ecx
je 0x1000353a
nop word [eax + eax]
cmp dword [eax], ebx
jne 0x100033d9
cmp dword [eax + 4], edi
je 0x100033e5
add eax, 0x18
cmp eax, ecx
jne 0x100033d0
jmp 0x1000353a
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp word [esi], ax
jne 0x1000340b
xor ecx, ecx
jmp 0x1000341f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003410
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.10006790
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1000344d
mov eax, dword [ecx]
jmp 0x1000344f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x250]
push edx
push eax
call fcn.10006890
lea ecx, [ebp - 0x238]
call fcn.10002960
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000348c
mov eax, dword [ecx]
jmp 0x1000348e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10006c20
call fcn.10002d20
mov byte [ebp - 4], 3
add esp, 0x18
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x100034fd
mov ecx, dword [ebp - 0x238]
inc eax
cmp eax, 0x1000
jb 0x100034f4
test cl, 0x1f
je 0x100034d0
call fcn.1014ccf1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100034dc
call fcn.1014ccf1
sub ecx, eax
cmp ecx, 4
jae 0x100034e8
call fcn.1014ccf1
cmp ecx, 0x23
jbe 0x100034f2
call fcn.1014ccf1
mov ecx, eax
push ecx
call fcn.1000ed2f
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
cmp eax, 8
jb 0x1000353a
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.10007630
push dword [ebp + 0x24]
push dword [ebp - 0x274]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push edi
push ebx
push dword [ebp - 0x278]
call fcn.10003160
mov ecx, dword [ebp - 0x254]
mov esi, eax
cmp ecx, 8
jb 0x10003577
inc ecx
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x268]
call fcn.10007630
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.1013ee40
mov esp, ebp
pop ebp
ret 0x20