Function at 0x41a340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6288ab
mov eax, dword fs:[0]
push eax
mov eax, 0x404c
call fcn.00554810
mov eax, dword [0x6aab00]
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 ebx, ecx
push 0x7d1
lea eax, [ebp - 0x404c]
push eax
lea ecx, [ebx + 0x94]
mov dword [ebp - 0x4028], ebx
call fcn.005701a0
mov ecx, eax
lea esi, [ebp - 0x4038]
mov dword [ebp - 4], 0
call fcn.0041ce70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4048]
test eax, eax
je 0x41a3df
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a3df
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a3df
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [ebp - 0x4038], 0
je 0x41a79a
push 0x67
lea eax, [ebp - 0x4054]
push eax
lea ecx, [ebx + 0x94]
call fcn.0056ed00
mov ecx, eax
lea esi, [ebp - 0x4030]
mov byte [ebp - 4], 3
call fcn.0041cee0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x4050]
test esi, esi
je 0x41a449
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a449
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a449
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp dword [ebp - 0x4030], 0
je 0x41a4e1
push ecx
mov ecx, esp
mov dword [ebp - 0x4020], esp
push 0x663ea8
call fcn.004016c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4030]
mov ecx, dword [eax + 0x1dc]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x4014], esp
call fcn.00417f30
mov ecx, dword [ebp - 0x4038]
mov byte [ebp - 4], 5
call fcn.0057b4e0
push 0x3fff
lea ecx, [ebp - 0x400f]
push 0
push ecx
mov byte [ebp - 0x4010], 0
call fcn.00551e50
mov eax, dword [ebx + 0x204]
add esp, 0xc
push eax
lea edi, [ebp - 0x4010]
call fcn.004180a0
mov edx, edi
mov ecx, esp
mov dword [ebp - 0x4020], esp
push edx
call fcn.004016c0
mov ecx, dword [ebp - 0x4030]
call fcn.00411340
mov eax, dword [ebx + 0x204]
push eax
push 0
push str.ShowFirstMacro
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x4044], eax
call fcn.00416160
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x4020], eax
mov dword [ebp - 0x4024], 0
cmp esi, dword [eax + 0x1c]
je 0x41a762
jmp 0x41a529
mov ebx, dword [ebp - 0x4028]
cmp dword [0x6b9470], 0
jne 0x41a762
cmp dword [ebp - 0x4044], 0
je 0x41a54c
cmp dword [ebp - 0x4024], 0
ja 0x41a762
push 0x20c
call fcn.0044cd98
mov edi, eax
add esp, 4
mov dword [ebp - 0x4014], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x41a57c
mov ecx, ebx
call fcn.00407d40
push edi
mov ebx, eax
call fcn.0041f5d0
mov ebx, eax
jmp 0x41a57e
xor ebx, ebx
mov byte [ebp - 4], 5
push ebx
lea ecx, [ebp - 0x4018]
mov dword [ebp - 0x401c], ebx
call fcn.0041d6d0
mov byte [ebp - 4], 8
test ebx, ebx
je 0x41a5b4
lea edi, [ebx + 0x98]
test edi, edi
je 0x41a5b4
lea eax, [ebp - 0x401c]
push eax
mov ecx, ebx
call fcn.00417ac0
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x401c]
test ebx, ebx
je 0x41a712
mov eax, dword [esi + 0x3c]
sub eax, 0x10
push eax
call fcn.00401780
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x4014], edi
lea edx, [ebp - 0x4014]
lea ecx, [ebx + 0x1fc]
push edx
mov byte [ebp - 4], 0xa
call fcn.004017f0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x4028]
mov edx, dword [ebx]
mov eax, dword [edx + 0x160]
push edi
push 0x82
mov ecx, ebx
call eax
test eax, eax
je 0x41a712
mov eax, dword [ebp - 0x4018]
add ebx, 0x94
mov dword [ebp - 0x4040], ebx
mov dword [ebp - 0x403c], eax
test eax, eax
je 0x41a65c
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [ebp - 0x4040]
push edx
lea ecx, [edi + 0xb8]
mov byte [ebp - 4], 0xb
call fcn.0041c670
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x403c]
test edi, edi
je 0x41a6aa
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a6aa
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a6aa
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov edi, dword [ebp - 0x4028]
add edi, 0x444
lea eax, [ebp - 0x401c]
call fcn.0041c7d0
push ecx
mov ecx, esp
mov dword [ebp - 0x4014], esp
push 0x663ea8
call fcn.004016c0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x401c]
test eax, eax
je 0x41a6e5
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [esi + 0x38]
push ecx
sub eax, 0x10
mov dword [ebp - 0x4058], esp
mov edi, esp
push eax
call fcn.00401780
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [ebp - 0x4038]
add esp, 4
mov byte [ebp - 4], 9
call fcn.0057b4e0
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x4018]
test edi, edi
je 0x41a74a
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a74a
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a74a
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, dword [ebp - 0x4020]
inc dword [ebp - 0x4024]
add esi, 0x54
cmp esi, dword [eax + 0x1c]
jne 0x41a523
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x402c]
test esi, esi
je 0x41a79a
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a79a
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a79a
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x4034]
test esi, esi
je 0x41a7d5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41a7d5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41a7d5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, 1
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.0054cec4
mov esp, ebp
pop ebp
ret