Function at 0x41ffd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ae4d
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.0041fc60
lea esi, [edi + 4]
call fcn.0044bd3a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.ChickenInvaders2Xmas
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.0040b5e0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00413a90
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 0x420075
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 0x420096
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, edi
call fcn.0041fc60
push str.._ChickenInvaders2Xmas.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 0x4200e8
lea eax, [ebp - 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4200d0
sub eax, edx
push eax
lea edx, [ebp - 0x130]
push edx
mov ecx, esi
call fcn.004021e0
mov eax, dword [esi]
push str.._ChickenInvaders2Xmas.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.0044bba8
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x420128
mov esi, dword [esi]
push 0x1041
push esi
call fcn.0044cbef
jmp 0x42012a
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.ChickenInvaders2Xmas
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 5
call fcn.0040b5e0
add esp, 0xc
push str._Christmas_Edition_version
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 6
call fcn.0040b5e0
add esp, 0xc
push str.2.60bfg
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.0040b5e0
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.0040b5e0
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 0x4201c9
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 0x4201ea
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 0x42020b
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 0x42022c
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 0x42024d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
call fcn.0043f584
add esp, 4
mov dword [ebp - 0x30], eax
push 0x46a760
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
call fcn.0041ff40
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.0040f810
add esp, 0xc
push 0x46a748
push eax
lea edx, [ebp - 0x1c]
mov bl, 0xc
push edx
mov byte [ebp - 4], bl
call fcn.0040b5e0
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 0x4202d9
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 0x4202fa
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 0x42031b
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 0x420351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x420351
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.0043eeae
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret