Function at 0x55107c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x9d7
push 0
push 0
dec ecx
jne 0x551084
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x551b81
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4e9690]
call fcn.004e9790
mov dword [ebp - 0x30], eax
cmp byte [ebx + 0x314], 1
jne 0x5510dc
mov eax, dword [ebx + 0x2e0]
call fcn.0048751c
mov edx, eax
lea ecx, [ebp - 0x4e58]
mov eax, ebx
call fcn.00551ca8
mov eax, ebx
call fcn.004abfec
jmp 0x551aa7
mov dl, 1
mov eax, dword [0x4143bc]
call fcn.00403284
mov esi, eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3ec]
lea eax, [ebp - 0x4e5c]
mov ecx, 0x551b9c
call fcn.004043c4
mov eax, dword [ebp - 0x4e5c]
call fcn.0040453c
push eax
push 0x4e1f
lea eax, [ebp - 0x4e51]
push eax
push 0x551bac
push 0x551bb0
push 0x551bd0
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x4e51]
mov ecx, 0x4e21
call fcn.0040430c
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004f2468
mov eax, dword [ebx + 0x2e0]
call fcn.0048751c
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4e60]
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e60]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x55121e
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3ec]
lea eax, [ebp - 0x4e64]
mov ecx, 0x551b9c
call fcn.004043c4
mov ecx, dword [ebp - 0x4e64]
mov dl, 1
mov eax, dword [0x4c228c]
call fcn.004c2334
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4e68]
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e68]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 8]
mov eax, esi
call fcn.004f4bb0
lea edx, [ebp - 0x4e6c]
mov eax, dword [ebp - 8]
call fcn.0040bd9c
mov eax, dword [ebp - 0x4e6c]
push eax
mov ecx, 0x551be0
mov edx, 0x551c08
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
call fcn.004032b4
mov eax, dword [ebx + 0x2e8]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x551a41
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, 0x551c18
call fcn.00404664
mov edi, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404580
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404378
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 0x18]
call fcn.00404580
mov eax, dword [ebp - 0x14]
sub eax, 1
jb 0x5512a1
je 0x551517
dec eax
je 0x5517ae
jmp 0x551a41
mov eax, dword [ebx + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x5513aa
lea edx, [ebp - 0x4e70]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4e70]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4e74]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e74]
pop eax
call fcn.00404380
mov eax, dword [ebp - 0x4e70]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
call fcn.004d9be8
mov ecx, eax
mov eax, ebx
pop edx
call fcn.005525ec
mov byte [ebx + 0x315], al
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4e78]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
jmp 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
call fcn.004d9d40
dec eax
cmp eax, 0
jl 0x551489
mov dword [ebp - 0x10], eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
call fcn.004d9be8
mov edx, eax
lea ecx, [ebp - 0x1c]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
call fcn.00560bb0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00404488
jne 0x55147c
lea edx, [ebp - 0x4e7c]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4e7c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4e80]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e80]
pop eax
call fcn.00404380
mov edx, dword [ebp - 0x4e7c]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.005525ec
mov byte [ebx + 0x315], al
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5513cf
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dbd78
dec eax
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4e84]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
jmp 0x551a41
mov eax, dword [ebx + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x5516bb
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
call fcn.004d9d40
dec eax
cmp eax, 0
jl 0x55162d
mov dword [ebp - 0x10], eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
call fcn.004d9be8
mov edx, eax
lea ecx, [ebp - 0x28]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
call fcn.00560bb0
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x28]
mov eax, 0x551c18
call fcn.00404664
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.00404580
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
call fcn.00404488
jne 0x551620
lea edx, [ebp - 0x4e88]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4e88]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4e8c]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e8c]
pop eax
call fcn.00404380
mov edx, dword [ebp - 0x4e88]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.005525ec
mov byte [ebx + 0x315], al
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x551552
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dbd78
dec eax
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4e90]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
jmp 0x551a41
lea edx, [ebp - 0x4e94]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4e94]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4e98]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4e98]
pop eax
call fcn.00404380
mov eax, dword [ebp - 0x4e94]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
call fcn.004d9be8
mov ecx, eax
mov eax, ebx
pop edx
call fcn.005525ec
mov byte [ebx + 0x315], al
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4e9c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
jmp 0x551a41
mov eax, dword [ebx + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xb4]
cmp al, 1
jne 0x551957
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
call fcn.004d9d40
dec eax
cmp eax, 0
jl 0x5518c9
mov dword [ebp - 0x10], eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
call fcn.004d9be8
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
call fcn.00560bb0
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x551c18
call fcn.00404664
inc eax
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404378
mov ecx, eax
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.00404580
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.00404488
jne 0x5518bc
lea edx, [ebp - 0x4ea0]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4ea0]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 0x10]
call fcn.004d9d70
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4ea4]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4ea4]
pop eax
call fcn.00404380
mov edx, dword [ebp - 0x4ea0]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.005525ec
mov byte [ebx + 0x315], al
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5517e9
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dbd78
dec eax
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4ea8]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
jmp 0x551a41
lea edx, [ebp - 0x4eac]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.00490074
lea eax, [ebp - 0x4eac]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x4eb0]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4eb0]
pop eax
call fcn.00404380
mov eax, dword [ebp - 0x4eac]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004dd254
call fcn.004d9be8
mov ecx, eax
mov eax, ebx
pop edx
call fcn.005525ec
mov byte [ebx + 0x315], al
cmp byte [ebx + 0x315], 0
jne 0x551a41
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x414]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x40c]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x418]
push eax
lea eax, [ebp - 0x4eb4]
push eax
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3fc]
mov eax, dword [0x663c7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3f8]
mov eax, 1
call fcn.005601a0
mov edx, 0x80000002
mov eax, dword [ebp - 0x30]
call fcn.004e9830
xor ecx, ecx
mov edx, 0x551c24
mov eax, dword [ebp - 0x30]
call fcn.004e9974
cmp al, 1
jne 0x551a91
lea ecx, [ebp - 0x4eb8]
mov eax, dword [ebx + 0x2e0]
mov eax, dword [eax + 0x1f0]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4eb8]
mov eax, dword [ebp - 0x30]
call fcn.004e9898
mov eax, dword [ebp - 0x30]
call fcn.004e9800
mov eax, dword [ebp - 0x30]
call fcn.004032b4
mov eax, esi
call fcn.004032b4
mov eax, ebx
call fcn.004abfec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551b8b
lea eax, [ebp - 0x4eb8]
mov edx, 3
call fcn.00404100
lea eax, [ebp - 0x4eac]
call fcn.004040dc
lea eax, [ebp - 0x4ea8]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x4ea0]
call fcn.004040dc
lea eax, [ebp - 0x4e9c]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x4e94]
call fcn.004040dc
lea eax, [ebp - 0x4e90]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x4e88]
call fcn.004040dc
lea eax, [ebp - 0x4e84]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x4e7c]
call fcn.004040dc
lea eax, [ebp - 0x4e78]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x4e70]
call fcn.004040dc
lea eax, [ebp - 0x4e6c]
mov edx, 6
call fcn.00404100
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404100
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404100
ret