Function at 0x41e930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push ebx
lea eax, [ecx + ecx*8]
shl eax, 4
mov edx, dword [eax + 0x42fa3c]
xor ebx, ebx
cmp dword [eax + 0x42fa38], 8
push esi
movsx esi, word [eax + 0x42fa28]
setge bl
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x42fa34]
push edi
mov edi, dword [eax + 0x42fa2c]
mov dword [ebp - 0x28], edx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], edx
test esi, esi
jle 0x41e9ac
test ebx, ebx
je 0x41e99d
cmp byte [eax + edi], 0xfa
jbe 0x41e9a4
jmp 0x41e9a3
cmp byte [eax + edi], 0x7f
jae 0x41e9a4
inc edx
inc eax
cmp eax, esi
jl 0x41e991
mov dword [ebp - 0x34], edx
mov edi, dword [sym.imp.MSVCR100.dll_printf]
lea eax, [ecx + 1]
push eax
push str._The_available_level__1d_variables_are:_n
call edi
add esp, 8
test esi, esi
jle 0x41ea59
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x38]
mov ecx, eax
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
mov esi, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
jmp 0x41e9f0
mov eax, 3
cmp ecx, 3
jg 0x41e9fc
mov eax, ecx
dec eax
je 0x41ea39
dec eax
je 0x41ea23
dec eax
jne 0x41ea45
lea eax, [esi + 1]
lea edx, [eax + 1]
push edx
lea ecx, [ebx + 0x21]
lea edx, [ecx + 0x21]
push edx
push eax
push ecx
push esi
push ebx
push str._For__.9s_enter__2d____For__.9s_enter__2d____For__.9s_enter__2d_n
call edi
add esp, 0x1c
jmp 0x41ea45
lea eax, [esi + 1]
push eax
lea ecx, [ebx + 0x21]
push ecx
push esi
push ebx
push str._For__.9s_enter__2d____For__.9s_enter__2d_n
call edi
add esp, 0x14
jmp 0x41ea45
push esi
push ebx
push str._For__.9s_enter__2d_n
call edi
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
sub ecx, 3
add esi, 3
add ebx, 0x63
dec dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
jne 0x41e9f0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
jmp 0x41ea70
push 0x42d088
push 0x4279e4
call edi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea edx, [ebp - 0xc]
push 5
push edx
call dword [sym.imp.MSVCR100.dll_fgets]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_atol]
mov esi, eax
add esp, 0x18
cmp esi, 1
jl 0x41eaab
cmp esi, dword [ebp - 0x2c]
jg 0x41eaab
inc dword [ebp - 0x1c]
inc ebx
cmp ebx, 9
jg 0x41ec89
cmp dword [ebp - 0x1c], 0
je 0x41ea70
cmp dword [ebp - 0x3c], 0
mov ebx, dword [ebp - 0x30]
je 0x41eb3c
cmp byte [esi + ebx - 1], 0xfb
jb 0x41eaf4
cmp dword [ebp - 0x24], 0
je 0x41eada
cmp dword [0x430a60], 0
je 0x41eb03
mov dword [0x430a60], 1
mov ecx, dword [ebp - 0x28]
mov dword [ecx + esi*4 - 4], 0xffffffff
jmp 0x41eba8
cmp dword [ebp - 0x24], 0
je 0x41eb30
cmp dword [0x430a60], 0
je 0x41eb30
push str.IDs_must_be_both_be_character_or_both_numeric__n
call edi
add esp, 4
cmp dword [0x430a60], 0
mov dword [ebp - 0x18], 0
jne 0x41eae4
cmp byte [esi + ebx - 1], 0xc
jbe 0x41eae4
push str.Your_ID_variable_is_longer_than_12_characters._n
call edi
add esp, 4
jmp 0x41ebab
mov dword [0x430a60], 0
jmp 0x41eb1d
cmp byte [esi + ebx - 1], 0x7f
ja 0x41eb5e
cmp dword [ebp - 0x24], 0
je 0x41eb52
cmp dword [0x430a60], 0
je 0x41eb6d
mov dword [0x430a60], 1
jmp 0x41eb8a
cmp dword [ebp - 0x24], 0
je 0x41eb80
cmp dword [0x430a60], 0
je 0x41eb80
push str.IDs_must_be_both_be_character_or_both_numeric__n
call edi
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x41eb8a
mov dword [0x430a60], 0
cmp byte [esi + ebx - 1], 0x8c
jbe 0x41eb9d
push str.Your_ID_variable_is_longer_than_12_characters._n
call edi
add esp, 4
jmp 0x41ebab
mov edx, dword [ebp - 0x28]
mov dword [edx + esi*4 - 4], 0xffffffff
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 9
jg 0x41ece4
cmp dword [ebp - 0x18], 0
je 0x41ea61
mov edx, dword [ebp - 0x34]
sub edx, dword [0x430a60]
mov dword [ebp - 0x1c], 0
test edx, edx
jle 0x41ed94
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
inc eax
push eax
push str._Please_specify_level__d_variable__2d
call edi
add esp, 0xc
xor ebx, ebx
xor esi, esi
push str._enter_0_to_end_:
push 0x4279e4
call edi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea eax, [ebp - 0x14]
push 5
push eax
call dword [sym.imp.MSVCR100.dll_fgets]
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
test eax, eax
js 0x41ec39
cmp eax, dword [ebp - 0x2c]
jg 0x41ec39
inc ebx
inc esi
cmp esi, 9
jg 0x41edf0
test ebx, ebx
je 0x41ec03
test eax, eax
je 0x41ed94
cmp dword [ebp - 0x3c], 0
je 0x41ed3a
mov edx, dword [ebp - 0x30]
cmp byte [eax + edx - 1], 0xfb
jb 0x41ed48
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4 - 4], 0
je 0x41ed54
push str.You_have_already_chosen_that_variable__n
push 0x42792c
call edi
add esp, 8
jmp 0x41ed66
push str.Unable_to_get_a_proper_response__n
push 0x428e48
call edi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41ecdc
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 0x41ecc0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call edi
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x41ed32
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 ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x41ed16
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 0x30]
cmp byte [eax + ecx - 1], 0x7f
jbe 0x41ec67
push str._This_is_a_character_variable__n
call edi
add esp, 4
jmp 0x41ed66
mov edx, 1
add dword [ebp - 0x18], edx
mov dword [ecx + eax*4 - 4], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
inc eax
lea edx, [ecx + 0x19]
mov dword [ebp - 0x20], eax
cmp eax, edx
jg 0x41ee4b
cmp dword [ebp - 0x18], 0
je 0x41ebe8
sub ecx, dword [0x430a60]
cmp dword [ebp - 0x1c], ecx
jl 0x41ebe0
xor esi, esi
cmp dword [ebp - 0x2c], esi
jle 0x41edc6
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
add ebx, 0xd
mov edx, dword [ebp - 0x28]
cmp dword [edx + esi*4], 1
jne 0x41edbd
push 0xd
push edi
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
add ebx, 0xd
inc esi
add edi, 0x21
cmp esi, dword [ebp - 0x2c]
jl 0x41eda4
mov eax, dword [ebp - 0x24]
mov edx, dword [0x42fb48]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx*8 + 4], eax
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
push 0x428e48
call edi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41ee43
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 0x41ee27
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call edi
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x41ee9c
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
lea ecx, [ecx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x41ee80
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
int3