Function at 0x41d710
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 - 0x30], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
test edi, edi
jle 0x41d750
mov ecx, edi
lea ecx, [ecx]
cmp word [eax], 1
jne 0x41d747
inc edx
add eax, 0x1c
dec ecx
jne 0x41d740
mov dword [ebp - 0x28], 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 - 0x2c], eax
call esi
add esp, 8
test edi, edi
jle 0x41d7fb
mov eax, edi
mov edi, dword [ebp - 0x24]
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 - 0x18], ecx
mov dword [ebp - 0x20], edx
mov eax, 3
cmp ecx, 3
jg 0x41d79e
mov eax, ecx
dec eax
je 0x41d7db
dec eax
je 0x41d7c5
dec eax
jne 0x41d7e7
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 0x41d7e7
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 0x41d7e7
push ebx
push edi
push str._For__.9s_enter__2d_n
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, 3
add edi, 0x54
add ebx, 3
dec dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
jne 0x41d792
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
xor edi, edi
jmp 0x41d810
push 0x42d088
push 0x4279e4
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 0x41d847
cmp eax, dword [ebp + 0xc]
jg 0x41d847
inc ebx
mov ecx, 1
add edi, ecx
cmp edi, 9
jg 0x41d9a6
test ebx, ebx
je 0x41d810
dec eax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0x24]
cmp word [eax + edx*4], cx
lea edi, [eax + edx*4]
jne 0x41d887
cmp dword [ebp + 8], ecx
jne 0x41d87f
cmp dword [0x430a60], 0
je 0x41d895
mov dword [0x430a60], ecx
jmp 0x41d8b2
cmp dword [ebp + 8], ecx
jne 0x41d8a8
cmp dword [0x430a60], 0
je 0x41d8a8
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x41d8b2
mov dword [0x430a60], 0
cmp word [edi + 2], 0xc
jle 0x41d8cb
cmp word [edi], 2
jne 0x41d8cb
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x41d8d5
or ecx, 0xffffffff
inc dword [ebp - 0x1c]
mov word [edi + 4], cx
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 9
jg 0x41da04
cmp dword [ebp - 0x1c], 0
je 0x41d803
mov edx, dword [ebp - 0x28]
sub edx, dword [0x430a60]
mov dword [ebp - 0x18], 0
test edx, edx
jle 0x41dab2
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
nop
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
push eax
push str._Please_specify_level__d_variable__2d
call esi
add esp, 0xc
xor ebx, ebx
xor edi, edi
lea ebx, [ebx]
push str._enter_0_to_end_:
push 0x4279e4
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0x14]
push 5
push ecx
call dword [sym.imp.MSVCR100.dll_fgets]
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
test eax, eax
js 0x41d966
cmp eax, dword [ebp + 0xc]
jg 0x41d966
inc ebx
inc edi
cmp edi, 9
jg 0x41db04
test ebx, ebx
je 0x41d930
test eax, eax
je 0x41dab2
mov edx, dword [ebp - 0x24]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea eax, [edx + ecx*4]
je 0x41da5a
push str._This_is_a_character_variable__n
call esi
add esp, 4
jmp 0x41da84
push str.Unable_to_get_a_proper_response__n
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41d9fc
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 eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x41d9e0
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.00404240
inc dword [0x42fba4]
je 0x41da52
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 0x41da36
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
cmp word [eax + 4], 0
je 0x41da72
push str.You_have_already_chosen_that_variable__n
push 0x42792c
call esi
add esp, 8
jmp 0x41da84
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0x1c]
mov ecx, 1
mov word [eax + 4], cx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
inc eax
lea edx, [ecx + 0x19]
mov dword [ebp - 0x20], eax
cmp eax, edx
jg 0x41db64
cmp dword [ebp - 0x1c], 0
je 0x41d910
sub ecx, dword [0x430a60]
cmp dword [ebp - 0x18], ecx
jl 0x41d907
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x41daf3
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x24]
add edi, 0xd
add esi, 6
mov dword [ebp - 0x18], eax
mov ebx, 1
lea ecx, [ecx]
cmp word [esi - 2], bx
jne 0x41daeb
mov edx, edi
add edi, 0xd
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x41dae0
add esi, 0x1c
sub dword [ebp - 0x18], ebx
jne 0x41dad0
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 esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x41db5c
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
jmp 0x41db40
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 0x41db40
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.00404240
inc dword [0x42fba4]
je 0x41dbb2
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 0x41db96
push 0xf
call dword [sym.imp.MSVCR100.dll_exit]
int3