Function at 0x4206a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ad9b5
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004a5f50
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x1070], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x1088]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1098]
mov edi, dword [esp + 0x109c]
xor ebx, ebx
mov dword [esp + 0x1090], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
xor eax, eax
mov word [esp + 0x50], ax
mov ebp, 7
push 0x24
mov eax, str.CINIReader::GetTextVector___sSection
lea esi, [esp + 0x50]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
call fcn.00401f30
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1094], 1
call fcn.004035d0
add esp, 4
mov byte [esp + 0x1090], bl
cmp dword [esp + 0x64], 8
jb 0x420763
mov edx, dword [esp + 0x50]
push edx
call fcn.00491101
add esp, 4
xor eax, eax
mov word [esp + 0x50], ax
xor ecx, ecx
push 0x28
mov eax, str.CINIReader::GetTextVector___sParamPrefix
lea esi, [esp + 0x1c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401f30
mov edx, esi
push edx
mov ecx, edi
mov dword [esp + 0x1094], 2
call fcn.004035d0
mov esi, 8
add esp, 4
mov byte [esp + 0x1090], bl
cmp dword [esp + 0x30], esi
jb 0x4207c8
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
push 0xffe
lea edx, [esp + 0x8a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x90], cx
call fcn.004957a0
mov eax, dword [esp + 0x48]
add esp, 0xc
push eax
call fcn.00409fc0
xor ecx, ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1090], 3
mov eax, dword [edx + 0x20]
cmp eax, ebx
je 0x420b78
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x420b78
mov eax, dword [0x4d4934]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d4934
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1090], 4
mov dword [esp + 0x40], ebx
cmp dword [edi + 0x18], esi
jb 0x420863
mov eax, dword [edi + 4]
jmp 0x420866
lea eax, [edi + 4]
push ebx
push eax
push str._s_d
lea edi, [esp + 0x20]
call fcn.00408d60
mov esi, dword [esp + 0x40]
add esp, 0xc
cmp dword [esi + 0x1c], 8
jb 0x420888
mov esi, dword [esi + 8]
jmp 0x42088b
add esi, 8
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], 1
jle 0x4208a7
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00407d00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 8
jb 0x4208b6
mov eax, dword [eax + 4]
jmp 0x4208b9
add eax, 4
push esi
push 0x800
lea edx, [esp + 0x8c]
push edx
push 0x4b49f8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x84]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4208f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x88]
lea esi, [esp + 0x1c]
call fcn.00401f30
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x1098], 5
call fcn.00401c20
mov byte [esp + 0x1090], 4
cmp dword [esp + 0x30], 8
jb 0x420942
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
cmp dword [esp + 0x7c], ebx
je 0x420b40
jmp 0x420955
mov ebp, 7
xor edx, edx
push 0x21
mov eax, str.CINIReader::GetTextVector___index
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00401f30
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x1090], 6
call fcn.00403270
mov byte [esp + 0x1090], 4
cmp dword [esp + 0x30], 8
jb 0x4209a1
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
xor ecx, ecx
push 0x22
mov eax, str.CINIReader::GetTextVector___result
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401f30
mov edx, esi
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1094], 7
call fcn.004035d0
mov esi, 8
add esp, 4
mov byte [esp + 0x1090], 4
cmp dword [esp + 0x30], esi
jb 0x4209f7
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
mov ebp, dword [esp + 0x34]
cmp dword [ebp + 0x1c], esi
jb 0x420a05
mov esi, dword [ebp + 8]
jmp 0x420a08
lea esi, [ebp + 8]
cmp dword [edi - 4], 1
jle 0x420a20
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00407d00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push esi
push ebx
push edi
call fcn.00401c10
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x68]
push eax
call fcn.0040a070
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esp + 0x4c]
call fcn.00401c10
push eax
push str._s_d
lea edi, [esp + 0x20]
call fcn.00408d60
xor ecx, ecx
mov ebx, 8
add esp, 0xc
mov word [esp + 0x84], cx
cmp dword [ebp + 0x1c], ebx
jb 0x420a7f
mov esi, dword [ebp + 8]
jmp 0x420a82
lea esi, [ebp + 8]
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], 1
jle 0x420a9e
mov edx, dword [edi - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00407d00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push esi
push 0x800
lea ecx, [esp + 0x8c]
push ecx
push 0x4b49f8
push edi
call fcn.00401c10
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
lea eax, [esp + 0x84]
mov word [esp + 0x1c], dx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420ae3
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x88]
lea esi, [esp + 0x1c]
call fcn.00401f30
push 0xffffffffffffffff
push 0
mov eax, esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x1098], bl
call fcn.00401c20
mov byte [esp + 0x1090], 4
cmp dword [esp + 0x30], ebx
jb 0x420b34
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x7c], ebx
jne 0x420950
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x420b52
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [edi - 0x10]
mov byte [esp + 0x1090], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420bbe
xor ecx, ecx
push 0x3b
mov eax, str.CINIReader::GetTextVector___failed_to_read_mutex_is_locked.
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00401f30
mov edx, esi
push edx
mov byte [esp + 0x1094], 9
call fcn.00403780
add esp, 4
cmp dword [esp + 0x30], 8
jb 0x420bbe
mov eax, dword [esp + 0x1c]
push eax
call fcn.00491101
add esp, 4
cmp dword [esp + 0x80], 8
jb 0x420bd5
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00491101
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1088]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1070]
xor ecx, esp
call fcn.0049110c
add esp, 0x1080
ret 8