Function at 0x594530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e22a2
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x20
call fcn.00493020
push eax
push 0
mov ecx, dword [ebp - 0xcc]
add ecx, 0x28
call fcn.00493020
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x24
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x2c
call fcn.00493020
push eax
call fcn.00524890
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
jmp 0x5945d6
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x10]
jge 0x594698
lea ecx, [ebp - 0x2c]
call fcn.00403290
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x30
call fcn.00493020
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403240
add esp, 0xc
mov word [ebp - 0xa4], 0
push 0x6e
push 0
lea ecx, [ebp - 0xa2]
push ecx
call fcn.00524800
add esp, 0xc
mov ecx, dword [ebp - 0xcc]
add ecx, 0x20
call fcn.00493020
push eax
push 0x38
lea edx, [ebp - 0xa4]
push edx
push 0x620c74
mov ecx, dword [ebp - 0xcc]
add ecx, 0x34
call fcn.00493020
push eax
lea ecx, [ebp - 0x2c]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa4]
push eax
call fcn.00524890
add esp, 4
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
adc ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403270
jmp 0x5945cd
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jl 0x5946b9
jg 0x5946aa
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jb 0x5946b9
mov eax, 1
jmp 0x594849
push str.IniCountCondition:count___min
mov ecx, dword [ebp - 0xcc]
add ecx, 0xc
call fcn.0040b1c0
cmp dword [0x67e1c8], 0
je 0x594847
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb8], ecx
push 0x620cd8
lea ecx, [ebp - 0xac]
call fcn.004092b0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xcc]
cmp dword [edx + 8], 0
jne 0x594736
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x594756
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xc4]
push eax
push str._minSize
lea ecx, [ebp - 0xbc]
push ecx
push str.sumSize_is_less_than_minSize__sumSize
push 0x620d1c
mov ecx, dword [ebp - 0xd8]
call fcn.00493020
push eax
push 0x620cd4
push 0x620ccc
lea edx, [ebp - 0xa8]
push edx
push 0x620cb4
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004b3ea0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004b3ea0
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00403270
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret