Function at 0x4a21a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xbc]
cmp eax, dword [ecx + 8]
jbe 0x4a2f5e
sub esp, 0x13c
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
lea eax, [0x4ae940]
mov dword [esp + 0x12c], eax
lea ecx, [0x4e5f8c]
mov dword [esp + 0x130], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea eax, [0x4ae940]
mov dword [esp + 0x124], eax
lea ecx, [0x4e5f94]
mov dword [esp + 0x128], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x124]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
lea eax, [0x4ae940]
mov dword [esp + 0x11c], eax
lea ecx, [0x4e5f9c]
mov dword [esp + 0x120], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x4ae940]
mov dword [esp + 0x114], eax
lea ecx, [0x4e5fa4]
mov dword [esp + 0x118], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x114]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea eax, [0x4ae940]
mov dword [esp + 0x10c], eax
lea ecx, [0x4e5fac]
mov dword [esp + 0x110], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
lea eax, [0x4ae940]
mov dword [esp + 0x104], eax
lea ecx, [0x4e5fb4]
mov dword [esp + 0x108], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
lea eax, [0x4ae940]
mov dword [esp + 0xfc], eax
lea ecx, [0x4e5fbc]
mov dword [esp + 0x100], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xfc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xf4], eax
lea ecx, [0x4e5fc4]
mov dword [esp + 0xf8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea eax, [0x4ae940]
mov dword [esp + 0xec], eax
lea ecx, [0x4e5fcc]
mov dword [esp + 0xf0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xec]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xe4], eax
lea ecx, [0x4e5fd4]
mov dword [esp + 0xe8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea eax, [0x4ae940]
mov dword [esp + 0xdc], eax
lea ecx, [0x4e5fdc]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xd4], eax
lea ecx, [0x4e5fe4]
mov dword [esp + 0xd8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xd4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea eax, [0x4ae940]
mov dword [esp + 0xcc], eax
lea ecx, [0x4e5fec]
mov dword [esp + 0xd0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xc4], eax
lea ecx, [0x4e5ff4]
mov dword [esp + 0xc8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea eax, [0x4ae940]
mov dword [esp + 0xbc], eax
lea ecx, [0x4e5ffc]
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xb4], eax
lea ecx, [0x4e6004]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x4ae940]
mov dword [esp + 0xac], eax
lea ecx, [0x4e600c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x4ae940]
mov dword [esp + 0xa4], eax
lea ecx, [0x4e6014]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [0x4ae940]
mov dword [esp + 0x9c], eax
lea ecx, [0x4e601c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x4ae940]
mov dword [esp + 0x94], eax
lea ecx, [0x4e5f84]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov dword [esp], 0x1dcd6500
mov dword [esp + 4], 0
call sym.time.Sleep
lea eax, [0x4aeb80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x134], eax
lea ecx, [0x4aeb80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x138], eax
nop
mov ecx, dword [esp + 0x134]
mov dword [ecx], 0x14
mov edx, dword [0x565fe0]
mov dword [esp], edx
lea edx, [0x4e65e0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ebx, [0x4c10eb]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 5
lea ebx, [0x4c4ba6]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x15
call sym.flag._FlagSet_.Var
nop
mov eax, dword [esp + 0x138]
mov dword [eax], 0xa
mov ecx, dword [0x565fe0]
mov dword [esp], ecx
lea ecx, [0x4e65e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea ecx, [0x4c11f9]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 6
lea ecx, [0x4c4bbb]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x15
call sym.flag._FlagSet_.Var
mov eax, dword [0x5661c4]
nop
cmp eax, 1
jb 0x4a2f51
mov ecx, dword [0x565fe0]
dec eax
mov edx, dword [0x5661c0]
mov ebx, dword [0x5661c8]
mov dword [esp], ecx
lea ecx, [ebx - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.flag._FlagSet_.Parse
mov eax, dword [esp + 0x134]
mov ecx, dword [eax]
lea edx, [0x4ab980]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx]
mov dword [esp + 0x50], edx
xor ebx, ebx
jmp 0x4a2af8
mov dword [ebp + ebx*4], edx
mov esi, dword [esp + 0x30]
lea ebx, [esi + 1]
mov eax, ebp
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x50]
cmp ebx, edx
jge 0x4a2b60
mov dword [esp + 0x30], ebx
lea eax, [ebx + ebx*2]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x138]
mov edx, dword [ecx]
lea ebp, [0x4aed40]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0x138]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x88]
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], ecx
mov ecx, dword [0x5a4b70]
test ecx, ecx
je 0x4a2ae0
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [ebp + ebx*4]
mov dword [edi + 4], ecx
jmp 0x4a2ae0
mov eax, dword [ecx]
mov edx, dword [esp + 0x138]
mov ebx, dword [edx]
lea ebp, [0x4aea80]
mov dword [esp], ebp
mov dword [esp + 4], 0
imul eax, ebx
lea eax, [ebx + eax*2]
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0x138]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x134]
mov ebx, dword [edx]
imul ebx, ecx
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x84], ebp
call sym.github.com_inancgumus_screen.Clear
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
lea eax, [ecx + eax*2]
mov ecx, 1
xor edx, edx
mov ebx, 1
xor ebp, ebp
mov esi, dword [esp + 0x84]
jmp 0x4a2ca8
mov dword [esp + 0x80], ebp
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp], 0
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
call sym.runtime.slicerunetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4ae940]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [0x565fe8]
lea edx, [0x4e64a0]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprint
mov dword [esp], 0x3f940aa
mov dword [esp + 4], 0
call sym.time.Sleep
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
call sym.github.com_inancgumus_screen.MoveTopLeft
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
add edx, ebx
mov ebp, dword [esp + 0x134]
mov esi, dword [ebp]
dec esi
cmp esi, eax
jle 0x4a2cec
test eax, eax
jg 0x4a2cee
neg ecx
mov esi, dword [esp + 0x138]
mov edi, dword [esi]
dec edi
cmp edi, edx
jle 0x4a2d00
test edx, edx
jg 0x4a2d02
neg ebx
mov edi, dword [esp + 0x50]
test edi, edi
jbe 0x4a2f48
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x88]
mov ebp, dword [esi + 4]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
jmp 0x4a2d86
cmp edi, eax
jbe 0x4a2f07
lea ebx, [eax + eax*2]
mov ebp, dword [esi + ebx*4 + 4]
mov ebx, dword [esi + ebx*4]
cmp ebp, edx
jbe 0x4a2efe
mov byte [ebx + edx], 1
mov ebx, dword [esi + 4]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
jmp 0x4a2dc5
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
cmp ebx, ebp
jge 0x4a2d38
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x4a2f25
mov dword [ebp + ebx*4 - 4], 0xa
inc edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
cmp edx, ebx
jge 0x4a2bdd
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
jmp 0x4a2e6f
mov ebx, dword [esp + 0x48]
inc ebx
mov esi, dword [esp + 0x4c]
cmp esi, ebx
jae 0x4a2da1
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4aea80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x40]
jmp 0x4a2da1
mov dword [ebp + edx*4 - 8], eax
mov dword [ebp + edx*4 - 4], 0x20
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x28]
cmp ebx, edi
jge 0x4a2de4
lea eax, [ebx + ebx*2]
mov ecx, dword [esi + eax*4 + 4]
mov eax, dword [esi + eax*4]
cmp edx, ecx
jae 0x4a2ef7
movzx eax, byte [eax + edx]
test al, al
je 0x4a2e98
mov eax, 0x26be
jmp 0x4a2e9d
mov eax, 0x20
mov ecx, edx
mov edx, dword [esp + 0x48]
add edx, 2
mov esi, dword [esp + 0x4c]
cmp esi, edx
jae 0x4a2e36
mov dword [esp + 0x44], eax
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x4aea80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x44]
jmp 0x4a2e36
mov eax, edx
call sym.runtime.panicIndex
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov ecx, edi
call sym.runtime.panicIndex
mov byte [ecx + ebx], 0
lea eax, [edx + 1]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp edx, edi
jge 0x4a2d77
lea ecx, [edx + edx*2]
mov eax, dword [esi + ecx*4 + 4]
mov ecx, dword [esi + ecx*4]
cmp ebx, eax
jb 0x4a2f0e
mov ecx, eax
mov eax, ebx
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.main.main