Function at 0x446a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1498
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x674ff8]
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 + 0xc]
lea ebx, [ecx + 4]
mov dword [ebp - 0x43c], eax
mov ecx, 0x63ca44
mov dword [ebp - 0x42c], 0
mov eax, dword [ebx]
mov dword [ebp - 0x430], ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446ad7
test dx, dx
je 0x446ad3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446ad7
add eax, 4
add ecx, 4
test dx, dx
jne 0x446ab1
xor eax, eax
jmp 0x446adc
sbb eax, eax
or eax, 1
test eax, eax
sete al
or edi, 0xffffffff
test al, al
je 0x446b2e
lea eax, [ebp - 0x42c]
push eax
push ecx
call fcn.0040b470
add esp, 4
mov ecx, eax
call fcn.0047ac60
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00404270
mov dword [ebp - 4], edi
mov eax, edi
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446b2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.005c7190
add esp, 0xc
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x446b6f
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push dword [ebp + 8]
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 1
push 0x64362c
push eax
call fcn.00404790
add esp, 0xc
lea eax, [ebp - 0x438]
push str..position
push ebx
push eax
call fcn.0040a7c0
add esp, 0xc
mov byte [ebp - 4], 2
mov ebx, 1
push dword [eax]
mov esi, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x63ca44
push 0x643648
push esi
mov dword [ebp - 0x42c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x446c31
push str..position
push dword [ebp - 0x430]
lea eax, [ebp - 0x434]
push eax
call fcn.0040a7c0
add esp, 0xc
mov ebx, 3
push dword [eax]
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x63ca44
push 0x64364c
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 0x425], 0
test eax, eax
jne 0x446c38
mov byte [ebp - 0x425], 1
test bl, 2
je 0x446c63
mov edx, dword [ebp - 0x434]
and ebx, 0xfffffffd
mov dword [ebp - 0x42c], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446c63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446c87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x425], 0
je 0x446c94
xor bl, bl
jmp 0x446cbf
lea eax, [ebp - 0x218]
push eax
call fcn.005cdc69
mov ebx, dword [ebp - 0x43c]
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x420]
push eax
call fcn.005cdc69
mov dword [ebx + 4], eax
add esp, 4
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x446cdb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.005c2ae8
mov esp, ebp
pop ebp
ret 8