Function at 0x4399a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44ed2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov al, byte [esp + 0x1f]
mov dword [esp + 0x20], ecx
push ebx
xor ebx, ebx
xor ecx, ecx
push esi
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x254]
mov dword [esp + 0x24c], ebx
mov esi, dword [edx + 4]
mov eax, dword [edx + 8]
cmp eax, esi
je 0x439c5f
push ebp
push edi
lea ebp, [esi + 4]
cmp dword [ebp + 4], ebx
je 0x439c1e
mov eax, dword [0x463290]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ecx, dword [ebp]
mov byte [esp + 0x254], 1
cmp eax, ecx
je 0x439a70
cmp dword [eax - 0xc], ebx
jge 0x439a41
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
jne 0x439a46
cmp dword [ecx - 0xc], ebx
jge 0x439a56
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404f60
jmp 0x439a70
lea ecx, [esp + 0x14]
call fcn.00402f00
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x30]
push ebp
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00438f40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov byte [esp + 0x254], 2
je 0x439ad6
cmp dword [eax - 0xc], ebx
jge 0x439aa6
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
jne 0x439aab
cmp dword [ecx - 0xc], ebx
jge 0x439abb
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404f60
jmp 0x439ad6
lea ecx, [esp + 0x18]
call fcn.00402f00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x44]
stosw word es:[edi], ax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esi]
push eax
push 0x104
push edx
push 0x4d6e34
push 0x469488
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x44]
test eax, eax
je 0x439b22
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
push eax
call fcn.00404f60
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x439b7d
cmp dword [ecx - 0xc], ebx
jge 0x439b4e
mov edx, dword [0x463294]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x439b53
cmp dword [eax - 0xc], ebx
jge 0x439b63
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x2c]
call fcn.00404f60
jmp 0x439b7d
lea ecx, [esp + 0x24]
call fcn.00402f00
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0043ac80
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x439bbf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x439bbf
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 6
call fcn.0043c2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 5
call fcn.0043c2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 4
call fcn.0043c2e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 3
call fcn.0043c2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], bl
call fcn.0043c2e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x25c]
mov eax, dword [edx + 8]
add esi, 0x18
add ebp, 0x18
cmp eax, esi
jne 0x4399fa
mov eax, dword [esp + 0x38]
pop edi
cmp eax, ebx
pop ebp
je 0x439c5f
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x439c5f
lea ecx, [esp + 0x2c]
push ecx
call fcn.00439ca0
mov ecx, eax
call fcn.00442e80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24c], 0xffffffff
call fcn.0043a6a0
mov ecx, dword [esp + 0x244]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret 4