Function at 0x4287b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_fgets]
push edi
mov edi, ecx
mov ecx, dword [0x43808c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x437914]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
lea esp, [esp]
push edi
push 0x800
push eax
call esi
add esp, 0xc
test eax, eax
je 0x428898
mov eax, dword [0x437914]
inc dword [0x4378cc]
cmp byte [eax], 0x23
je 0x4287f0
mov ebx, dword [sym.imp.MSVCR100.dll_strchr]
push 0xa
push eax
call ebx
add esp, 8
test eax, eax
je 0x42883e
mov byte [eax], 0
dec eax
cmp byte [eax], 0
je 0x42883e
nop
cmp byte [eax], 0x20
jne 0x42883e
mov byte [eax], 0
dec eax
cmp byte [eax], 0
jne 0x428830
mov esi, dword [0x437914]
cmp byte [esi], 0
je 0x428861
mov edi, dword [sym.imp.MSVCR100.dll_toupper]
nop
movsx edx, byte [esi]
push edx
call edi
mov byte [esi], al
inc esi
add esp, 4
cmp byte [esi], 0
jne 0x428850
mov edi, dword [0x437914]
push 7
push str.LEVEL3:
push edi
call dword [sym.imp.MSVCR100.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4288ab
mov eax, dword [0x4378c4]
mov ecx, dword [0x4378c0]
mov edx, dword [ebp - 0x28]
push 0
push eax
push ecx
push edx
call dword [sym.imp.MSVCR100.dll__fseeki64]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e325
mov esp, ebp
pop ebp
ret
add edi, 7
push 0x3d
push edi
call ebx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4288f7
mov eax, dword [0x4378cc]
push eax
push 0x435728
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
push str._Error_in_batch_file_at_line__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x14
call fcn.00404c60
inc dword [0x437d8c]
je 0x4288ef
call fcn.004048c0
push 8
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, dword [sym.imp.MSVCR100.dll_strchr]
push 0x2b
push edi
call esi
push 0
push edi
call esi
add esp, 0x10
mov dword [ebp - 0x20], eax
xor eax, eax
nop
mov cl, byte [eax + 0x4392b0]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x428910
mov ecx, ebx
sub ecx, edi
push ecx
lea edx, [ebp - 0x14]
push edi
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov esi, dword [ebp - 0x18]
mov eax, 8
call fcn.004045b0
mov eax, 8
lea esi, [ebp - 0x14]
call fcn.004045b0
mov ecx, dword [ebp - 0x18]
mov eax, esi
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 0x14
test eax, eax
je 0x428999
mov edx, dword [0x4378cc]
push edx
push 0x435728
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
push str._Error_in_batch_file_at_line__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x14
call fcn.00404c60
inc dword [0x437d8c]
je 0x428991
call fcn.004048c0
push 8
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
mov dword [0x4378c0], eax
mov dword [0x4378c4], edx
mov dword [ebp - 0x18], 0
mov edi, ebx
cmp ebx, dword [ebp - 0x20]
je 0x428ad0
lea esi, [edi + 1]
push 0x2b
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x4289db
mov edi, dword [ebp - 0x20]
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x4392b0]
mov byte [ebp + eax - 0x14], cl
inc eax
test cl, cl
jne 0x4289e0
cmp byte [edi - 2], 0x2c
jne 0x428a07
mov bl, byte [edi - 1]
mov ecx, edi
sub ecx, esi
sub ecx, 2
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
jmp 0x428a13
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x14]
mov bl, 0x20
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
push 6
lea edx, [ebp - 0x14]
push str.RANDOM
push edx
call dword [sym.imp.MSVCR100.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x428a3c
inc dword [ebp - 0x1c]
jmp 0x428ac1
mov eax, dword [0x4390b0]
mov ecx, dword [0x438524]
push eax
push ecx
lea eax, [ebp - 0x14]
call fcn.00404bf0
add esp, 8
test eax, eax
js 0x428afc
cmp eax, dword [0x4390b0]
jg 0x428afc
mov edx, dword [0x4390ac]
imul edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x18]
mov ecx, dword [0x4394f8]
mov dword [ecx + edx*4], eax
cmp bl, 0x20
je 0x428ab3
cmp bl, 0x32
je 0x428aa6
push esi
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.Problem_at_this_point:__s_n
call esi
movsx edx, bl
push edx
push str.invlaid_option_on_level_3_variable___c_n
call esi
add esp, 0x10
jmp 0x428ab3
mov ecx, dword [0x437c58]
mov dword [ecx + eax*4], 2
mov eax, 1
add dword [0x439518], eax
add dword [ebp - 0x18], eax
cmp edi, dword [ebp - 0x20]
jne 0x4289c3
cmp dword [ebp - 0x1c], 0
jne 0x428ae6
mov edx, dword [0x438f8c]
mov eax, dword [ebp - 0x24]
inc dword [0x437910]
mov dword [edx + eax*4], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042e325
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.MSVCR100.dll_printf]
push str.level3
push str.Batch_file__s_specification_invalid_n
call edi
add esp, 8
cmp byte [esi], 0
jne 0x428b1c
mov esi, dword [0x437914]
push esi
push str._s_does_not_exist_n
call edi
add esp, 8
call fcn.00404c60
inc dword [0x437d8c]
je 0x428b39
call fcn.004048c0
push 9
call dword [sym.imp.MSVCR100.dll_exit]
int3