Function at 0x411cd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46f254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f84
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
mov ebp, dword [0x4b1d44]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b1ca8]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x240], ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x411def
lea edx, [esp + 0x2c]
push 0x2e
push edx
call fcn.0043f5c1
mov word [eax], bx
lea eax, [esp + 0x34]
push str..ini
push eax
call fcn.0043f572
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x93c]
call fcn.00412020
push str.PAC_
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.00451311
test eax, eax
jne 0x411dc7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004511fb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 2
call fcn.0045861d
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 1
call fcn.004584d6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edx
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x10]
mov ebp, eax
mov byte [esp + 0x23c], bl
call fcn.004584d6
cmp dword [0x4b1d28], ebx
je 0x411df9
xor ebp, ebp
mov ecx, dword [esi + 0x8e0]
push ebp
push ebx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [esi + 0x8e0]
lea ecx, [esi + 0x93c]
mov edi, dword [edx]
call fcn.0042fcd0
mov ecx, dword [esi + 0x8e0]
push eax
push 1
call dword [edi + 0x24]
mov ecx, dword [esi + 0x8e0]
mov eax, dword [esi + 0x91c]
push eax
push 2
mov edx, dword [ecx]
call dword [edx + 0x24]
mov al, byte [esp + 0x2b]
mov dword [esi + 0x20a0], 1
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 3
push ecx
lea ecx, [esi + 0x2038]
call fcn.00407980
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x411fd4
mov edi, dword [esp + 0x20]
mov eax, 0x54abfd5b
mov edx, edi
sub edx, ecx
imul edx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x411fd4
mov dword [esp + 0x14], ebx
xor ebp, ebp
cmp ecx, ebx
jne 0x411ea8
xor edx, edx
jmp 0x411ebb
sub edi, ecx
mov eax, 0x54abfd5b
imul edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [esp + 0x14], edx
jge 0x411fd4
mov edi, dword [ecx + ebp]
lea ecx, [ecx + ebp + 0x204]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045854a
mov eax, dword [0x4b1d48]
mov byte [esp + 0x23c], 4
cmp eax, ebx
je 0x411f18
mov eax, edi
xor edx, edx
shr eax, 4
div dword [0x4b1d54]
mov eax, dword [0x4b1d50]
cmp eax, ebx
je 0x411f18
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x411f18
cmp dword [eax + 8], edi
je 0x411f14
mov eax, dword [eax]
cmp eax, ebx
jne 0x411f07
jmp 0x411f18
cmp eax, ebx
jne 0x411f8b
lea ecx, [esi + 0x93c]
call fcn.004307d0
test eax, eax
je 0x411f51
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.0041bf10
test eax, eax
je 0x411f41
push edi
mov ecx, esi
call fcn.0041be30
jmp 0x411f8b
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.0041bff0
test eax, eax
je 0x411f8b
mov eax, dword [0x4b1d28]
push 1
cmp eax, ebx
push edi
mov ecx, esi
je 0x411f75
call fcn.00466dfd
mov ecx, eax
call fcn.0040bcd0
push edi
mov ecx, esi
call fcn.00417570
jmp 0x411f8b
call fcn.00412050
test eax, eax
je 0x411fb8
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457fae
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 3
call fcn.004584d6
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
inc ecx
add ebp, 0x60c
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x411ea0
mov ecx, esi
call fcn.00412950
lea ecx, [esp + 0x10]
mov byte [esp + 0x23c], 3
call fcn.004584d6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00458a71
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x23c], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret