Function at 0x4267b0
Capabilities:
Delete file
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
cmp ecx, 3
ja case.default.0x4267da
jmp dword [ecx*4 + 0x427214]
mov ecx, dword [str.level_1]
mov edx, dword [0x43cbd0]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jmp case.default.0x4267da
mov ecx, dword [str.level_2]
mov edx, dword [0x43cbd8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jmp case.default.0x4267da
mov ecx, dword [str.row_level]
mov edx, dword [0x440aa4]
mov dword [ebp - 0x2c], ecx
mov cx, word [0x440aa8]
mov dword [ebp - 0x28], edx
mov word [ebp - 0x24], cx
jmp case.default.0x4267da
mov edx, dword [str.column_level]
mov ecx, dword [0x440ab0]
mov dword [ebp - 0x2c], edx
mov edx, dword [0x440ab4]
mov dword [ebp - 0x28], ecx
mov cl, byte [0x440ab8]
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x20], cl
xor edx, edx
mov dword [ebp - 0x48], edx
test edi, edi
jle 0x426867
mov ecx, edi
cmp word [eax], 1
jne 0x42685e
inc edx
add eax, 0x1c
dec ecx
jne 0x426857
mov dword [ebp - 0x48], edx
mov esi, dword [sym.imp.MSVCR100.dll_printf]
lea edx, [ebp - 0x2c]
push edx
push str._The_available__s_variables_are:_n
call esi
add esp, 8
test edi, edi
jle 0x42690e
mov eax, edi
mov edi, dword [ebp - 0x44]
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 - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov eax, 3
cmp ecx, 3
jg 0x4268b1
mov eax, ecx
dec eax
je 0x4268ee
dec eax
je 0x4268d8
dec eax
jne 0x4268fa
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 0x4268fa
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 0x4268fa
push ebx
push edi
push str._For__.9s_enter__2d_n
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
sub ecx, 3
add edi, 0x54
add ebx, 3
dec dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
jne 0x4268a5
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, 1
setg bl
xor edx, edx
mov dword [ebp - 0x40], edx
cmp ebx, edx
jne 0x426a1e
xor edi, edi
mov dword [ebp - 0x38], edi
jmp 0x426930
push 0x440b68
push 0x43b59c
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 0x426969
cmp eax, dword [ebp + 0xc]
jg 0x426969
inc dword [ebp - 0x38]
inc edi
cmp edi, 9
jg 0x426ad2
cmp dword [ebp - 0x38], 0
je 0x426930
mov edx, dword [ebp - 0x44]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea edi, [edx + ecx*4]
jne 0x4269b9
cmp dword [ebp + 8], 0
je 0x4269ad
cmp dword [0x448520], 0
jne 0x4269ad
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
xor ebx, ebx
jmp 0x4269e0
mov dword [0x448520], 1
jmp 0x4269e0
cmp dword [ebp + 8], 0
je 0x4269d6
cmp dword [0x448520], 0
je 0x4269d6
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
xor ebx, ebx
jmp 0x4269e0
mov dword [0x448520], 0
cmp word [edi + 2], 0xc
jle 0x4269f9
cmp word [edi], 2
jne 0x4269f9
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x426a01
or eax, 0xffffffff
mov word [edi + 4], ax
inc ebx
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 9
jg 0x426b54
test ebx, ebx
je 0x426926
mov eax, dword [ebp + 8]
xor edx, edx
cmp eax, edx
je 0x426a2a
mov dword [ebp - 0x38], edx
cmp eax, 3
jne 0x426a31
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x38], edx
jne 0x426c44
lea ecx, [ecx]
mov ebx, dword [sym.imp.MSVCR100.dll_fgets]
xor edi, edi
mov dword [ebp - 0x3c], edi
jmp 0x426a50
push str._What_variable_is_the_row_ID_
push 0x43b59c
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0xc]
push 5
push ecx
call ebx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
cmp eax, 1
jl 0x426a85
cmp eax, dword [ebp + 0xc]
jg 0x426a85
inc dword [ebp - 0x3c]
inc edi
cmp edi, 9
jg 0x426cf2
cmp dword [ebp - 0x3c], 0
je 0x426a50
mov edx, dword [ebp - 0x44]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea edi, [edx + ecx*4]
jne 0x426bd4
cmp dword [ebp + 8], 0
je 0x426ac3
cmp dword [0x448520], 0
je 0x426be3
mov dword [0x448520], 1
jmp 0x426c00
push str.Unable_to_get_a_proper_response__n
push 0x43a944
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x426b4c
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 esp, [esp]
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 0x426b30
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x426bcc
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 esp, [esp]
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 0x426bb0
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
cmp dword [ebp + 8], 0
je 0x426bf6
cmp dword [0x448520], 0
je 0x426bf6
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
mov dword [ebp - 0x38], 0
jmp 0x426c00
mov dword [0x448520], 0
cmp word [edi + 2], 0xc
jle 0x426c19
cmp word [edi], 2
jne 0x426c19
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x426c25
inc dword [ebp - 0x38]
mov eax, 0xfffffffe
mov word [edi + 4], ax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 9
jg 0x426d74
cmp dword [ebp - 0x38], 0
je 0x426a40
mov eax, dword [ebp + 8]
xor edx, edx
cmp eax, edx
je 0x426c50
mov dword [ebp - 0x38], edx
cmp eax, 2
jne 0x426c57
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x38], edx
jne 0x426e64
mov ebx, dword [sym.imp.MSVCR100.dll_fgets]
xor edi, edi
mov dword [ebp - 0x3c], edi
mov edi, edi
push 0x440bac
push 0x43b59c
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0xc]
push 5
push ecx
call ebx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
cmp eax, 1
jl 0x426ca5
cmp eax, dword [ebp + 0xc]
jg 0x426ca5
inc dword [ebp - 0x3c]
inc edi
cmp edi, 9
jg 0x426e83
cmp dword [ebp - 0x3c], 0
je 0x426c70
mov edx, dword [ebp - 0x44]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea edi, [edx + ecx*4]
jne 0x426df4
cmp dword [ebp + 8], 0
je 0x426ce3
cmp dword [0x448520], 0
je 0x426e03
mov dword [0x448520], 1
jmp 0x426e20
push str.Unable_to_get_a_proper_response__n
push 0x43a944
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x426d6c
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 esp, [esp]
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 0x426d50
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x426dec
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 esp, [esp]
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 0x426dd0
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
cmp dword [ebp + 8], 0
je 0x426e16
cmp dword [0x448520], 0
je 0x426e16
push str.IDs_must_be_both_be_character_or_both_numeric__n
call esi
add esp, 4
mov dword [ebp - 0x38], 0
jmp 0x426e20
mov dword [0x448520], 0
cmp word [edi + 2], 0xc
jle 0x426e39
cmp word [edi], 2
jne 0x426e39
push str.Your_ID_variable_is_longer_than_12_characters._n
call esi
add esp, 4
jmp 0x426e45
inc dword [ebp - 0x38]
mov eax, 0xfffffffd
mov word [edi + 4], ax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 9
jg 0x426f04
cmp dword [ebp - 0x38], 0
je 0x426c63
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], edx
cmp dword [0x448520], edx
je 0x426f92
cmp eax, 3
ja case.default.0x426e7c
jmp dword [eax*4 + 0x427224]
push str.Unable_to_get_a_proper_response__n
push 0x43a944
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x426efc
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 0x426ee0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x426f7c
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 esp, [esp]
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 0x426f60
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, 1
jmp 0x426f99
mov eax, 3
jmp 0x426f99
xor eax, eax
jmp 0x426f99
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, edx
jg 0x426ff0
push str.There_are_no_variables_left_to_put_in_the_ssm__n
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x426fe4
call fcn.00406b90
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
inc eax
push eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
push eax
push str._Please_specify__s_variable__2d
call esi
add esp, 0xc
xor ebx, ebx
xor edi, edi
push str._enter_0_to_end_:
push 0x43b59c
call esi
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0x34]
push 5
push ecx
call dword [sym.imp.MSVCR100.dll_fgets]
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVCR100.dll_atol]
add esp, 0x18
test eax, eax
js 0x427048
cmp eax, dword [ebp + 0xc]
jg 0x427048
inc ebx
inc edi
cmp edi, 9
jg 0x427115
test ebx, ebx
je 0x427012
test eax, eax
je 0x4270cf
mov edx, dword [ebp - 0x44]
dec eax
lea ecx, [eax*8]
sub ecx, eax
cmp word [edx + ecx*4], 1
lea eax, [edx + ecx*4]
je 0x42707d
push str._This_is_a_character_variable__n
call esi
add esp, 4
jmp 0x4270a7
cmp word [eax + 4], 0
je 0x427095
push str.You_have_already_chosen_that_variable__n
push 0x43a93c
call esi
add esp, 8
jmp 0x4270a7
mov edx, dword [ebp - 0x48]
inc dword [ebp - 0x38]
mov ecx, 1
mov word [eax + 4], cx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 0x1f4
jg 0x427194
cmp dword [ebp - 0x38], 0
je 0x426ff8
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x3c], eax
jl 0x426ff0
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x427104
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x44]
add edi, 0xd
add esi, 6
mov ebx, eax
cmp word [esi - 2], 1
jne 0x4270fe
mov edx, edi
add edi, 0xd
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4270f4
add esi, 0x1c
dec ebx
jne 0x4270e4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004391bc
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_a_proper_response__n
push 0x43a944
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0x10
cmp dword [0x443e58], 0
je 0x42718c
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 eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x427170
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.Unable_to_get_a_proper_response_n
call esi
call fcn.00406fe0
mov ecx, dword [0x4596c4]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push ecx
mov dword [0x443e58], 1
call esi
mov edx, dword [0x448bc8]
push edx
call esi
add esp, 0xc
cmp dword [0x443e58], 0
je 0x42720c
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 esp, [esp]
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 0x4271f0
push 0xe
call dword [sym.imp.MSVCR100.dll_exit]
loope 0x42727d
inc edx
add ch, dh
inc edx
add byte [ecx], cl
push 0x68280042
inc edx
add byte [edi + ebp*2 + 0x6f8b0042], al
inc edx
add byte [edi + ebp*2 + 0x6f840042], al
inc edx
add ah, cl
int3
adc al, 0x57