Function at 0x41f340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4578cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x476a54]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [edi], fcn.0041efd0
lea esi, [edi + 4]
call fcn.00448d4a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.ChickenInvaders2
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.004022f0
push str..log
push eax
lea eax, [ebp - 0x2c]
mov bl, 1
push eax
mov byte [ebp - 4], bl
call fcn.0040f800
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00413a30
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f3e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f406
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, edi
call fcn.0041efd0
push str.._ChickenInvaders2.cfg
push 0x100
mov edi, eax
mov ecx, dword [edi]
lea eax, [ebp - 0x130]
push eax
push 0x45a67d
push str.logFilename
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x41f458
lea eax, [ebp - 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f440
sub eax, edx
push eax
lea edx, [ebp - 0x130]
push edx
mov ecx, esi
call fcn.004021a0
mov eax, dword [esi]
push str.._ChickenInvaders2.cfg
push eax
mov eax, dword [edi]
push str.logFilename
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x14
mov byte [ebp - 4], 3
call fcn.00448bb8
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x41f498
mov esi, dword [esi]
push 0x1041
push esi
call fcn.00449bff
jmp 0x41f49a
xor eax, eax
mov edi, dword [ebp - 0x28]
push str.Application:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [edi + 8], eax
call fcn.004022f0
push str.ChickenInvaders2
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 5
call fcn.0040f800
add esp, 0xc
push str._version
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 6
call fcn.0040f800
add esp, 0xc
push str.2.30
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.0040f800
add esp, 0xc
push 0x4674c4
push eax
lea ecx, [ebp - 0x18]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.0040f800
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push eax
mov byte [ebp - 4], 9
call dword [edx + 0x54]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f55a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f57b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f59c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.0043c605
add esp, 4
mov dword [ebp - 0x30], eax
push 0x4674dc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
call fcn.0041f2b0
mov esi, eax
push str.Log_date:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.004022f0
push esi
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00408a10
add esp, 0xc
push 0x4674c4
push eax
lea edx, [ebp - 0x1c]
mov bl, 0xc
push edx
mov byte [ebp - 4], bl
call fcn.0040f800
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push eax
mov byte [ebp - 4], 0xd
call dword [edx + 0x54]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f649
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f66a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f68b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41f6c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp + 4]
mov eax, edi
call fcn.0043bfd6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret