Function at 0x41ffa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45abed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x47b258]
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.0041fc30
lea esi, [edi + 4]
call fcn.0044baca
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.00402330
push str..log
push eax
lea eax, [ebp - 0x2c]
mov bl, 1
push eax
mov byte [ebp - 4], bl
call fcn.0040b6c0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00413b20
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 0x420045
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 0x420066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, edi
call fcn.0041fc30
push str.._ChickenInvaders2.cfg
push 0x100
mov edi, eax
mov ecx, dword [edi]
lea eax, [ebp - 0x130]
push eax
push 0x45d66d
push str.logFilename
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x4200b8
lea eax, [ebp - 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4200a0
sub eax, edx
push eax
lea edx, [ebp - 0x130]
push edx
mov ecx, esi
call fcn.004021e0
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.0044b938
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x4200f8
mov esi, dword [esi]
push 0x1041
push esi
call fcn.0044c97f
jmp 0x4200fa
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.00402330
push str.ChickenInvaders2
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 5
call fcn.0040b6c0
add esp, 0xc
push str.__version
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 6
call fcn.0040b6c0
add esp, 0xc
push str.2.60bfg
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.0040b6c0
add esp, 0xc
push str._English_n
push eax
lea ecx, [ebp - 0x18]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.0040b6c0
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 0x420199
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 0x4201ba
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 0x4201db
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 0x4201fc
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 0x42021d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.0043f314
add esp, 4
mov dword [ebp - 0x30], eax
push 0x46a54c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
call fcn.0041ff10
mov esi, eax
push str.Log_date:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00402330
push esi
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0xb
call fcn.0040f8a0
add esp, 0xc
push 0x46a534
push eax
lea edx, [ebp - 0x1c]
mov bl, 0xc
push edx
mov byte [ebp - 4], bl
call fcn.0040b6c0
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 0x4202a9
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 0x4202ca
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 0x4202eb
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 0x420321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x420321
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.0043ec3e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret