Function at 0x41f9a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], eax
call fcn.00404750
test eax, eax
je 0x41fa06
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push str.level__1d
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41f9fe
call fcn.00403eb0
push 1
call dword [sym.imp.MSVCR100.dll_exit]
movsx ecx, word [esi + 0xa]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0xc], eax
jle 0x41fa2d
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 0xc]
jl 0x41fa20
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
push eax
push str._The_available_level__1d_variables_are:_n
call ebx
mov edi, 1
add esp, 8
cmp dword [ebp - 0x18], edi
jl 0x41fad1
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp eax, 3
jle 0x41fa62
mov eax, 3
dec eax
je 0x41faa7
dec eax
je 0x41fa8d
dec eax
jne 0x41fab7
lea eax, [edi + 1]
lea ecx, [eax + 1]
push ecx
lea edx, [ebx + 0x1a]
push edx
push eax
lea eax, [ebx + 0xd]
push eax
push edi
push ebx
push str._For__.9s_enter__2d____For__.9s_enter__2d____For__.9s_enter__2d_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x1c
jmp 0x41fab7
lea ecx, [edi + 1]
push ecx
lea edx, [ebx + 0xd]
push edx
push edi
push ebx
push str._For__.9s_enter__2d____For__.9s_enter__2d_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x14
jmp 0x41fab7
push edi
push ebx
push str._For__.9s_enter__2d_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0xc
mov eax, dword [ebp - 0x10]
add edi, 3
sub eax, 3
add ebx, 0x27
mov dword [ebp - 0x10], eax
cmp edi, dword [ebp - 0x18]
jle 0x41fa58
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
xor edi, edi
mov dword [ebp - 0x14], edi
push str._What_variable_is_the_group_ID_
call ebx
add esp, 4
push 0x430260
call dword [sym.imp.MSVCR100.dll_gets]
add esp, 4
push 0x430260
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 4
dec eax
mov dword [esi + 0x18], eax
js 0x41fb0d
mov ecx, dword [ebp - 0x18]
dec ecx
cmp eax, ecx
jg 0x41fb0d
inc edi
jmp 0x41fb17
push str._Not_a_valid_variable._Try_again._n
call ebx
add esp, 4
mov edx, dword [esi + 0x18]
imul edx, edx, 0xd
add edx, dword [ebp - 0x1c]
push 0x24
push edx
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
jne 0x41fb58
cmp dword [ebp + 8], 2
jne 0x41fb4c
cmp dword [0x430a60], eax
jne 0x41fb4c
push 0x42d1a8
call ebx
add esp, 4
xor edi, edi
jmp 0x41fb7f
mov dword [0x430a60], 1
jmp 0x41fb7f
cmp dword [ebp + 8], 2
jne 0x41fb75
cmp dword [0x430a60], 0
je 0x41fb75
push 0x42d1a8
call ebx
add esp, 4
xor edi, edi
jmp 0x41fb7f
mov dword [0x430a60], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 9
jg 0x41fbb6
test edi, edi
je 0x41fad6
mov ecx, dword [esi + 0xc]
sub ecx, dword [0x430a60]
xor eax, eax
mov dword [esi + 0x14], eax
test ecx, ecx
jg 0x41fc18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425fc4
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response_n
call ebx
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x41fc04
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x41fbe8
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
lea esp, [esp]
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
jmp 0x41fc26
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
inc edx
push edx
push eax
push str._Please_specify_level__1d_variable__2d__enter_0_to_end_:
call ebx
add esp, 0xc
push 0x430260
call dword [sym.imp.MSVCR100.dll_gets]
add esp, 4
cmp byte [0x430260], 0x30
je 0x41fba5
push 0x430260
call dword [sym.imp.MSVCR100.dll_atol]
mov ebx, eax
add esp, 4
dec ebx
js 0x41fc98
mov ecx, dword [ebp - 0x18]
dec ecx
cmp ebx, ecx
jg 0x41fc98
cmp ebx, dword [esi + 0x18]
je 0x41fc98
mov edx, ebx
imul edx, edx, 0xd
add edx, dword [ebp - 0x1c]
push 0x24
push edx
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x41fc93
push str._This_is_a_character_variable__n
jmp 0x41fc9d
inc dword [ebp - 0x10]
jmp 0x41fca6
push str._Not_a_valid_variable._Try_again._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x41fcd8
lea ecx, [ecx]
mov eax, dword [ebp - 0x20]
cmp dword [eax + edi*4], ebx
jne 0x41fcd2
push str.You_have_already_chosen_that_variable__n
push 0x42792c
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov dword [ebp - 0x10], 0
inc edi
cmp edi, dword [esi + 0xc]
jl 0x41fcb0
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x14]
inc eax
add ecx, 0x19
mov dword [ebp - 0x14], eax
cmp eax, ecx
jg 0x41fd3e
cmp dword [ebp - 0x10], 0
je 0x41fc20
inc dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, ebx
imul ecx, ecx, 0xd
imul eax, eax, 0xd
add eax, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
mov dl, byte [eax]
mov byte [ecx], dl
inc eax
inc ecx
test dl, dl
jne 0x41fd07
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x20]
mov dword [eax + edx*4 - 4], ebx
mov ecx, dword [esi + 0xc]
sub ecx, dword [0x430a60]
cmp dword [esi + 0x14], ecx
jl 0x41fc10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425fc4
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x41fd90
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x41fd74
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
int3