Function at 0x401334
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x1d0
call sym.___main
mov dword [esp], str.__Tugas_Array_ASD__
call sym._puts
mov dword [esp], str.Masukkan_lebar_kotak:
call sym._printf
lea eax, [esp + 0x1b8]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov dword [esp], str.Masukkan_tinggi_kotak:
call sym._printf
lea eax, [esp + 0x1bc]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov dword [esp], 0x40406a
call sym._system
mov dword [esp], str.__INPUT__
call sym._puts
mov dword [esp + 0x1cc], 0
jmp 0x401445
mov dword [esp + 0x1c8], 0
jmp 0x401429
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 4], eax
mov dword [esp], str.Input_data_ke___d___d_:
call sym._printf
lea ecx, [esp + 0x18]
mov edx, dword [esp + 0x1cc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 1
mov edx, dword [esp + 0x1c8]
add eax, edx
shl eax, 2
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
inc dword [esp + 0x1c8]
mov eax, dword [esp + 0x1b8]
cmp dword [esp + 0x1c8], eax
setl al
test al, al
jne 0x4013ce
inc dword [esp + 0x1cc]
mov eax, dword [esp + 0x1bc]
cmp dword [esp + 0x1cc], eax
setl al
test al, al
jne 0x4013c1
mov dword [esp], 0x40406a
call sym._system
mov dword [esp], str.__HASIL__
call sym._puts
mov dword [esp + 0x1cc], 0
jmp 0x4014ec
mov dword [esp + 0x1c8], 0
jmp 0x4014c4
mov edx, dword [esp + 0x1cc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 1
mov edx, dword [esp + 0x1c8]
add eax, edx
mov eax, dword [esp + eax*4 + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0x40409b
call sym._printf
inc dword [esp + 0x1c8]
mov eax, dword [esp + 0x1b8]
cmp dword [esp + 0x1c8], eax
setl al
test al, al
jne 0x401490
mov dword [esp], 0xa
call sym._putchar
inc dword [esp + 0x1cc]
mov eax, dword [esp + 0x1bc]
cmp dword [esp + 0x1cc], eax
setl al
test al, al
jne 0x401483
mov dword [esp], str._nHendak_tukar_data__Y_N__
call sym._printf
lea eax, [esp + 0x1c3]
mov dword [esp + 4], eax
mov dword [esp], 0x4040ba
call sym._scanf
mov al, byte [esp + 0x1c3]
cmp al, 0x79
je 0x40153e
mov al, byte [esp + 0x1c3]
cmp al, 0x59
jne 0x4016ea
mov dword [esp], str.Posisi_x1:
call sym._printf
lea eax, [esp + 0x1b4]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov dword [esp], str.Posisi_y1:
call sym._printf
lea eax, [esp + 0x1b0]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov dword [esp], str.Posisi_x2:
call sym._printf
lea eax, [esp + 0x1ac]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov dword [esp], str.Posisi_y2:
call sym._printf
lea eax, [esp + 0x1a8]
mov dword [esp + 4], eax
mov dword [esp], 0x40404f
call sym._scanf
mov edx, dword [esp + 0x1b4]
mov eax, dword [esp + 0x1b8]
cmp edx, eax
jl 0x4015ed
mov dword [esp], str.x1_melebihi_lebar
call sym._printf
jmp 0x4016e5
mov edx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x1bc]
cmp edx, eax
jl 0x401610
mov dword [esp], str.y1_melebihi_tinggi
call sym._printf
jmp 0x4016e5
mov edx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x1b8]
cmp edx, eax
jl 0x401633
mov dword [esp], str.x2_melebihi_lebar
call sym._printf
jmp 0x4016e5
mov edx, dword [esp + 0x1a8]
mov eax, dword [esp + 0x1bc]
cmp edx, eax
jl 0x401656
mov dword [esp], str.y2_melebihi_tinggi
call sym._printf
jmp 0x4016e5
mov edx, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1b4]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 1
add eax, ecx
mov eax, dword [esp + eax*4 + 0x18]
mov dword [esp + 0x1c4], eax
mov ecx, dword [esp + 0x1b0]
mov ebx, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1a8]
mov esi, dword [esp + 0x1ac]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 1
add eax, esi
mov edx, dword [esp + eax*4 + 0x18]
mov eax, ecx
shl eax, 2
add eax, ecx
shl eax, 1
add eax, ebx
mov dword [esp + eax*4 + 0x18], edx
mov edx, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1ac]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 1
lea edx, [eax + ecx]
mov eax, dword [esp + 0x1c4]
mov dword [esp + edx*4 + 0x18], eax
mov dword [esp], str.Data_berhasil_ditukar
call sym._printf
call sym._getch
mov al, byte [esp + 0x1c3]
cmp al, 0x6e
je 0x401704
mov al, byte [esp + 0x1c3]
cmp al, 0x4e
je 0x401704
mov al, 1
jmp 0x401706
mov al, 0
test al, al
jne 0x40145e
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret