Function at 0x401088
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
nop
mov eax, str.color_0a
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, 0x403009
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, str._n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40305e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4030ae
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4030fe
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40314e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40319e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4031ee
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40323e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40328e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4032de
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40332e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40337e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4033ce
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.____ENTER______GENERATE
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40346e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.______Q________QUiT
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40350e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40355e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0
mov dword [ebp - 0x14], eax
mov eax, 1
mov dword [ebp - 0x10], eax
mov eax, 2
mov dword [ebp - 0xc], eax
mov eax, 3
mov dword [ebp - 8], eax
mov eax, 4
mov dword [ebp - 4], eax
mov eax, 0
mov dword [ebp - 0x34], eax
mov eax, 1
mov dword [ebp - 0x30], eax
mov eax, 2
mov dword [ebp - 0x2c], eax
mov eax, 3
mov dword [ebp - 0x28], eax
mov eax, 4
mov dword [ebp - 0x24], eax
mov eax, 5
mov dword [ebp - 0x20], eax
mov eax, 6
mov dword [ebp - 0x1c], eax
mov eax, 7
mov dword [ebp - 0x18], eax
mov eax, 5
mov dword [ebp - 0x38], eax
mov eax, 8
mov dword [ebp - 0x3c], eax
mov eax, str.1234512345123451234580471443903547126570173720EB612CD321BE421AF511AE436740E3851E2933E4751E4642F65DB439EA348EA366EA357FA2
mov dword [ebp - 0x50], eax
mov eax, 0x403590
mov dword [ebp - 0x4c], eax
mov eax, 0x403592
mov dword [ebp - 0x48], eax
mov eax, 0x403594
mov dword [ebp - 0x44], eax
mov eax, 0x403596
mov dword [ebp - 0x40], eax
mov eax, 0x403598
mov dword [ebp - 0x64], eax
mov eax, 0x40359a
mov dword [ebp - 0x60], eax
mov eax, 0x40359c
mov dword [ebp - 0x5c], eax
mov eax, 0x40359e
mov dword [ebp - 0x58], eax
mov eax, 0x4035a0
mov dword [ebp - 0x54], eax
mov eax, 0x4035a2
mov dword [ebp - 0x78], eax
mov eax, 0x4035a4
mov dword [ebp - 0x74], eax
mov eax, 0x4035a6
mov dword [ebp - 0x70], eax
mov eax, 0x4035a8
mov dword [ebp - 0x6c], eax
mov eax, 0x4035aa
mov dword [ebp - 0x68], eax
mov eax, 0x4035ac
mov dword [ebp - 0x8c], eax
mov eax, 0x4035ae
mov dword [ebp - 0x88], eax
mov eax, 0x4035b0
mov dword [ebp - 0x84], eax
mov eax, 0x4035b2
mov dword [ebp - 0x80], eax
mov eax, 0x4035b4
mov dword [ebp - 0x7c], eax
mov eax, 0x4035b6
mov dword [ebp - 0xa0], eax
mov eax, 0x4035b8
mov dword [ebp - 0x9c], eax
mov eax, 0x4035ba
mov dword [ebp - 0x98], eax
mov eax, 0x4035bc
mov dword [ebp - 0x94], eax
mov eax, 0x4035be
mov dword [ebp - 0x90], eax
mov eax, 0x4035c0
mov dword [ebp - 0xb4], eax
mov eax, 0x4035c2
mov dword [ebp - 0xb0], eax
mov eax, 0x4035c4
mov dword [ebp - 0xac], eax
mov eax, 0x4035c6
mov dword [ebp - 0xa8], eax
mov eax, 0x4035c8
mov dword [ebp - 0xa4], eax
mov eax, 0x4035ca
mov dword [ebp - 0xc8], eax
mov eax, 0x4035cc
mov dword [ebp - 0xc4], eax
mov eax, 0x4035ce
mov dword [ebp - 0xc0], eax
mov eax, 0x4035d0
mov dword [ebp - 0xbc], eax
mov eax, 0x4035d2
mov dword [ebp - 0xb8], eax
mov eax, 0x4035d4
mov dword [ebp - 0xdc], eax
mov eax, 0x4035d6
mov dword [ebp - 0xd8], eax
mov eax, 0x4035d8
mov dword [ebp - 0xd4], eax
mov eax, 0x4035da
mov dword [ebp - 0xd0], eax
mov eax, 0x4035dc
mov dword [ebp - 0xcc], eax
mov eax, 0x4035de
mov dword [ebp - 0xf0], eax
mov eax, 0x4035e0
mov dword [ebp - 0xec], eax
mov eax, 0x4035e2
mov dword [ebp - 0xe8], eax
mov eax, 0x4035e4
mov dword [ebp - 0xe4], eax
mov eax, 0x4035e6
mov dword [ebp - 0xe0], eax
mov eax, 0x4035e8
mov dword [ebp - 0x104], eax
mov eax, 0x4035ea
mov dword [ebp - 0x100], eax
mov eax, 0x4035ec
mov dword [ebp - 0xfc], eax
mov eax, 0x4035ee
mov dword [ebp - 0xf8], eax
mov eax, 0x4035f0
mov dword [ebp - 0xf4], eax
mov eax, 0x4035f2
mov dword [ebp - 0x118], eax
mov eax, 0x4035f4
mov dword [ebp - 0x114], eax
mov eax, 0x4035f6
mov dword [ebp - 0x110], eax
mov eax, 0x4035f8
mov dword [ebp - 0x10c], eax
mov eax, 0x4035fa
mov dword [ebp - 0x108], eax
mov eax, 0x4035fc
mov dword [ebp - 0x12c], eax
mov eax, 0x4035fe
mov dword [ebp - 0x128], eax
mov eax, 0x403600
mov dword [ebp - 0x124], eax
mov eax, 0x403602
mov dword [ebp - 0x120], eax
mov eax, 0x403604
mov dword [ebp - 0x11c], eax
mov eax, 0x403606
mov dword [ebp - 0x140], eax
mov eax, 0x403608
mov dword [ebp - 0x13c], eax
mov eax, 0x40360a
mov dword [ebp - 0x138], eax
mov eax, 0x40360c
mov dword [ebp - 0x134], eax
mov eax, 0x40360e
mov dword [ebp - 0x130], eax
mov eax, 0x403610
mov dword [ebp - 0x154], eax
mov eax, 0x403612
mov dword [ebp - 0x150], eax
mov eax, 0x403614
mov dword [ebp - 0x14c], eax
mov eax, 0x403616
mov dword [ebp - 0x148], eax
mov eax, 0x403618
mov dword [ebp - 0x144], eax
mov eax, 0x40361a
mov dword [ebp - 0x168], eax
mov eax, 0x40361c
mov dword [ebp - 0x164], eax
mov eax, 0x40361e
mov dword [ebp - 0x160], eax
mov eax, 0x403620
mov dword [ebp - 0x15c], eax
mov eax, 0x403622
mov dword [ebp - 0x158], eax
mov eax, 0x403624
mov dword [ebp - 0x17c], eax
mov eax, 0x403626
mov dword [ebp - 0x178], eax
mov eax, 0x403628
mov dword [ebp - 0x174], eax
mov eax, 0x40362a
mov dword [ebp - 0x170], eax
mov eax, 0x40362c
mov dword [ebp - 0x16c], eax
mov eax, 0x40362e
mov dword [ebp - 0x190], eax
mov eax, 0x403630
mov dword [ebp - 0x18c], eax
mov eax, 0x403632
mov dword [ebp - 0x188], eax
mov eax, 0x403634
mov dword [ebp - 0x184], eax
mov eax, 0x403636
mov dword [ebp - 0x180], eax
mov eax, 0x403638
mov dword [ebp - 0x1a4], eax
mov eax, 0x40363a
mov dword [ebp - 0x1a0], eax
mov eax, 0x40363c
mov dword [ebp - 0x19c], eax
mov eax, 0x40363e
mov dword [ebp - 0x198], eax
mov eax, 0x403640
mov dword [ebp - 0x194], eax
mov eax, 0x403642
mov dword [ebp - 0x1b8], eax
mov eax, 0x403644
mov dword [ebp - 0x1b4], eax
mov eax, 0x403646
mov dword [ebp - 0x1b0], eax
mov eax, 0x403648
mov dword [ebp - 0x1ac], eax
mov eax, 0x40364a
mov dword [ebp - 0x1a8], eax
mov eax, 0x40364c
mov dword [ebp - 0x1cc], eax
mov eax, 0x40364e
mov dword [ebp - 0x1c8], eax
mov eax, 0x403650
mov dword [ebp - 0x1c4], eax
mov eax, 0x403652
mov dword [ebp - 0x1c0], eax
mov eax, 0x403654
mov dword [ebp - 0x1bc], eax
mov eax, 0x403656
mov dword [ebp - 0x1e0], eax
mov eax, 0x403658
mov dword [ebp - 0x1dc], eax
mov eax, 0x40365a
mov dword [ebp - 0x1d8], eax
mov eax, 0x40365c
mov dword [ebp - 0x1d4], eax
mov eax, 0x40365e
mov dword [ebp - 0x1d0], eax
mov eax, 0x403660
mov dword [ebp - 0x1f4], eax
mov eax, 0x403662
mov dword [ebp - 0x1f0], eax
mov eax, 0x403664
mov dword [ebp - 0x1ec], eax
mov eax, 0x403666
mov dword [ebp - 0x1e8], eax
mov eax, 0x403668
mov dword [ebp - 0x1e4], eax
mov eax, 0x40366a
mov dword [ebp - 0x208], eax
mov eax, 0x40366c
mov dword [ebp - 0x204], eax
mov eax, 0x40366e
mov dword [ebp - 0x200], eax
mov eax, 0x403670
mov dword [ebp - 0x1fc], eax
mov eax, 0x403672
mov dword [ebp - 0x1f8], eax
mov eax, 0x403674
mov dword [ebp - 0x21c], eax
mov eax, 0x403676
mov dword [ebp - 0x218], eax
mov eax, 0x403678
mov dword [ebp - 0x214], eax
mov eax, 0x40367a
mov dword [ebp - 0x210], eax
mov eax, 0x40367c
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401026
add esp, 8
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401026
add esp, 8
call sub.msvcrt.dll_rand
mov ecx, 7
cdq
idiv ecx
inc edx
mov dword [ebp - 0x224], edx
call sub.msvcrt.dll_rand
mov ecx, 4
cdq
idiv ecx
shl edx, 2
lea eax, [ebp - 0x50]
add eax, edx
mov ecx, dword [eax]
push ecx
mov eax, 0x40367e
push eax
mov eax, 2
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0x403681
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, 0
jne 0x401814
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401814
jmp 0x4017da
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x4017b3
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
shl eax, 2
lea ecx, [ebp - 0xa0]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x403683
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4017c9
mov eax, 0x403686
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, 0
jne 0x4018aa
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x4018aa
jmp 0x401870
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401849
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
shl eax, 2
lea ecx, [ebp - 0xb4]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x403688
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x40185f
mov eax, 0x40368b
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, 0
jne 0x401940
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401940
jmp 0x401906
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x4018df
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
shl eax, 2
lea ecx, [ebp - 0xc8]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x40368d
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4018f5
mov eax, 0x403690
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, 0
jne 0x4019d6
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x4019d6
jmp 0x40199c
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401975
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
shl eax, 2
lea ecx, [ebp - 0xdc]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x403692
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x40198b
mov eax, 0x403695
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
cmp eax, 0
jne 0x401a6c
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401a6c
jmp 0x401a32
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401a0b
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
shl eax, 2
lea ecx, [ebp - 0xf0]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x403697
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401a21
mov eax, 0x40369a
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401026
add esp, 8
call sub.msvcrt.dll_rand
mov ecx, 7
cdq
idiv ecx
inc edx
mov dword [ebp - 0x248], edx
call sub.msvcrt.dll_rand
mov ecx, 4
cdq
idiv ecx
shl edx, 2
lea eax, [ebp - 0x64]
add eax, edx
mov ecx, dword [eax]
push ecx
mov eax, 0x40369c
push eax
mov eax, 2
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0x40369f
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
cmp eax, 0
jne 0x401b67
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401b67
jmp 0x401b2d
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401b06
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
shl eax, 2
lea ecx, [ebp - 0x104]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036a1
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401b1c
mov eax, 0x4036a4
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
cmp eax, 0
jne 0x401bfd
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401bfd
jmp 0x401bc3
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401b9c
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
shl eax, 2
lea ecx, [ebp - 0x118]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036a6
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401bb2
mov eax, 0x4036a9
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
cmp eax, 0
jne 0x401c93
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401c93
jmp 0x401c59
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401c32
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
shl eax, 2
lea ecx, [ebp - 0x12c]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036ab
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401c48
mov eax, 0x4036ae
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
cmp eax, 0
jne 0x401d29
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401d29
jmp 0x401cef
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401cc8
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
shl eax, 2
lea ecx, [ebp - 0x140]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036b0
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401cde
mov eax, 0x4036b3
push eax
lea eax, [ebp - 0x250]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
cmp eax, 0
jne 0x401dbf
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401dbf
jmp 0x401d85
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401d5e
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
shl eax, 2
lea ecx, [ebp - 0x154]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036b5
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401d74
mov eax, 0x4036b8
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401026
add esp, 8
call sub.msvcrt.dll_rand
mov ecx, 7
cdq
idiv ecx
inc edx
mov dword [ebp - 0x26c], edx
call sub.msvcrt.dll_rand
mov ecx, 4
cdq
idiv ecx
shl edx, 2
lea eax, [ebp - 0x78]
add eax, edx
mov ecx, dword [eax]
push ecx
mov eax, 0x4036ba
push eax
mov eax, 2
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0x4036bd
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
cmp eax, 0
jne 0x401eba
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401eba
jmp 0x401e80
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401e59
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
shl eax, 2
lea ecx, [ebp - 0x168]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036bf
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401e6f
mov eax, 0x4036c2
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
cmp eax, 0
jne 0x401f50
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401f50
jmp 0x401f16
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401eef
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
shl eax, 2
lea ecx, [ebp - 0x17c]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036c4
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401f05
mov eax, 0x4036c7
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
cmp eax, 0
jne 0x401fe6
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x401fe6
jmp 0x401fac
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x401f85
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
shl eax, 2
lea ecx, [ebp - 0x190]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036c9
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x401f9b
mov eax, 0x4036cc
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
cmp eax, 0
jne 0x40207c
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x40207c
jmp 0x402042
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x40201b
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
shl eax, 2
lea ecx, [ebp - 0x1a4]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036ce
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x402031
mov eax, 0x4036d1
push eax
lea eax, [ebp - 0x274]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
cmp eax, 0
jne 0x402112
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x402112
jmp 0x4020d8
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x4020b1
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
shl eax, 2
lea ecx, [ebp - 0x1b8]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036d3
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4020c7
mov eax, 0x4036d6
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401026
add esp, 8
call sub.msvcrt.dll_rand
mov ecx, 4
cdq
idiv ecx
shl edx, 2
lea eax, [ebp - 0x8c]
add eax, edx
mov ecx, dword [eax]
push ecx
mov eax, 0x4036d8
push eax
mov eax, 2
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0x4036db
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
cmp eax, 0
jne 0x4021fc
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x4021fc
jmp 0x4021c2
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x40219b
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
shl eax, 2
lea ecx, [ebp - 0x1cc]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036dd
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4021b1
mov eax, 0x4036e0
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
cmp eax, 0
jne 0x402292
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x402292
jmp 0x402258
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x402231
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
shl eax, 2
lea ecx, [ebp - 0x1e0]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036e2
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x402247
mov eax, 0x4036e5
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
cmp eax, 0
jne 0x402328
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x402328
jmp 0x4022ee
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x4022c7
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
shl eax, 2
lea ecx, [ebp - 0x1f4]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036e7
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4022dd
mov eax, 0x4036ea
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
cmp eax, 0
jne 0x4023be
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x4023be
jmp 0x402384
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x40235d
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
shl eax, 2
lea ecx, [ebp - 0x208]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036ec
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x402373
mov eax, 0x4036ef
push eax
lea eax, [ebp - 0x294]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
cmp eax, 0
jne 0x402454
mov eax, 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jge 0x402454
jmp 0x40241a
mov eax, dword [ebp - 0x220]
mov ecx, eax
inc eax
mov dword [ebp - 0x220], eax
jmp 0x4023f3
mov eax, dword [ebp - 0x220]
shl eax, 2
lea ecx, [ebp - 0x14]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
shl eax, 2
lea ecx, [ebp - 0x21c]
add ecx, eax
mov eax, dword [ecx]
push eax
mov eax, 0x4036f1
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x402409
mov eax, 0x4036f4
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4036fe
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x40374e
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
push eax
mov eax, 0xa
push eax
lea eax, [ebp - 0x2b6]
push eax
call sub.msvcrt.dll_fgets
add esp, 0xc
mov eax, 0x40379e
push eax
lea eax, [ebp - 0x2b6]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
cmp eax, 0
jne 0x4024dc
mov eax, str.color_07
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, 0
jmp 0x4024e1
call fcn.00401088
leave
ret