Function at 0x423450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
test edi, edi
jle 0x423490
mov ecx, edi
lea ecx, [ecx]
cmp word [eax], 1
jne 0x423487
inc edx
add eax, 0x1c
dec ecx
jne 0x423480
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
inc eax
push eax
push str._The_available_level__1d_variables_are:_n
mov dword [ebp - 0x30], eax
call esi
add esp, 8
test edi, edi
jle 0x42353b
mov eax, edi
mov edi, dword [ebp - 0x28]
mov ecx, eax
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add edi, 6
inc edx
mov ebx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edx
mov eax, 3
cmp ecx, 3
jg 0x4234de
mov eax, ecx
dec eax
je 0x42351b
dec eax
je 0x423505
dec eax
jne 0x423527
lea eax, [ebx + 1]
lea edx, [eax + 1]
push edx
lea ecx, [edi + 0x1c]
lea edx, [ecx + 0x1c]
push edx
push eax
push ecx
push ebx
push edi
push str._For__.9s_enter__2d____For__.9s_enter__2d____For__.9s_enter__2d_n
call esi
add esp, 0x1c
jmp 0x423527
lea eax, [ebx + 1]
push eax
lea ecx, [edi + 0x1c]
push ecx
push ebx
push edi
push str._For__.9s_enter__2d____For__.9s_enter__2d_n
call esi
add esp, 0x14
jmp 0x423527
push ebx
push edi
push str._For__.9s_enter__2d_n
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x24]
sub ecx, 3
add edi, 0x54
add ebx, 3
dec dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
jne 0x4234d2
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
xor edi, edi
jmp 0x423550
push str._What_variable_is_the_level_3_ID_
push 0x42f9f8
call esi
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]
add esp, 0x18
cmp eax, 1
jl 0x423587
cmp eax, dword [ebp + 0xc]
jg 0x423587
inc ebx
inc edi
cmp edi, 9
jg 0x4236d6
test ebx, ebx
je 0x423550
mov edx, dword [ebp - 0x28]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea edi, [edx + ecx*4]
jne 0x4235c7
cmp dword [ebp + 8], 0
je 0x4235bb
cmp dword [0x438da0], 0
je 0x4235d6
mov dword [0x438da0], 1
jmp 0x4235f3
cmp dword [ebp + 8], 0
je 0x4235e9
cmp dword [0x438da0], 0
je 0x4235e9
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4235f3
mov dword [0x438da0], 0
cmp word [edi + 2], 0xc
jle 0x42360c
cmp word [edi], 2
jne 0x42360c
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x423616
or eax, 0xffffffff
inc dword [ebp - 0x18]
mov word [edi + 4], ax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 9
jg 0x423734
cmp dword [ebp - 0x18], 0
je 0x423543
xor eax, eax
cmp dword [ebp + 8], 2
mov dword [ebp - 0x1c], 0
sete al
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4237f5
jmp 0x423650
xor ebx, ebx
xor edi, edi
push 0x43553c
push 0x42f9f8
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0xc]
push 5
push ecx
call dword [sym.imp.MSVCR100.dll_fgets]
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
cmp eax, 1
jl 0x42368b
cmp eax, dword [ebp + 0xc]
jg 0x42368b
inc ebx
inc edi
cmp edi, 9
jg 0x4238b8
test ebx, ebx
je 0x423654
mov edx, dword [ebp - 0x28]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea edi, [edx + ecx*4]
jne 0x42378a
cmp dword [ebp + 8], 0
je 0x4236c7
cmp dword [0x438da0], 0
je 0x423799
mov dword [0x438da0], 1
jmp 0x4237b6
push str.Unable_to_get_a_proper_response__n
push 0x43225c
call esi
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x42372c
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 0x423710
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
add esp, 4
call fcn.00404c60
inc dword [0x437d8c]
je 0x423782
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 0x423766
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
cmp dword [ebp + 8], 0
je 0x4237ac
cmp dword [0x438da0], 0
je 0x4237ac
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4237b6
mov dword [0x438da0], 0
cmp word [edi + 2], 0xc
jle 0x4237cf
cmp word [edi], 2
jne 0x4237cf
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x4237db
inc dword [ebp - 0x18]
mov eax, 0xfffffffe
mov word [edi + 4], ax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 9
jg 0x423914
cmp dword [ebp - 0x18], 0
je 0x423650
mov ecx, dword [0x438da0]
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x42380d
cmp dword [ebp + 8], 2
jge 0x42380d
inc ecx
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x4239bc
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
inc eax
push eax
push ecx
push str._Please_specify_level__d_variable__2d
mov dword [ebp - 0x20], eax
call esi
add esp, 0xc
xor ebx, ebx
xor edi, edi
push str._enter_0_to_end_:
push 0x42f9f8
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea edx, [ebp - 0x14]
push 5
push edx
call dword [sym.imp.MSVCR100.dll_fgets]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
test eax, eax
js 0x423878
cmp eax, dword [ebp + 0xc]
jg 0x423878
inc ebx
inc edi
cmp edi, 9
jg 0x423a0a
test ebx, ebx
je 0x423842
test eax, eax
je 0x4239bc
mov edx, dword [ebp - 0x28]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea eax, [edx + ecx*4]
je 0x42396a
push str._This_is_a_character_variable__n
call esi
add esp, 4
jmp 0x423994
push str.Unable_to_get_a_proper_response__n
push 0x43225c
call esi
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x42390c
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
nop
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 0x4238f0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
add esp, 4
call fcn.00404c60
inc dword [0x437d8c]
je 0x423962
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 0x423946
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
cmp word [eax + 4], 0
je 0x423982
push str.You_have_already_chosen_that_variable__n
push 0x42f92c
call esi
add esp, 8
jmp 0x423994
mov edx, dword [ebp - 0x20]
inc dword [ebp - 0x18]
mov ecx, 1
mov word [eax + 4], cx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x1f4
jg 0x423a65
cmp dword [ebp - 0x18], 0
je 0x423828
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x24], eax
jl 0x423820
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4239f9
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
add edi, 0xd
add esi, 6
mov dword [ebp - 0x20], eax
mov ebx, 1
cmp word [esi - 2], bx
jne 0x4239f1
mov edx, edi
add edi, 0xd
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x4239e6
add esi, 0x1c
sub dword [ebp - 0x20], ebx
jne 0x4239d7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e325
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response__n
push 0x43225c
call esi
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x423a5d
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 0x423a41
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
add esp, 4
call fcn.00404c60
inc dword [0x437d8c]
je 0x423ab3
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 0x423a97
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
int3