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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x59eb9c
sub esp, 0x98
lea eax, [0x5ccc40]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov dword [eax + 4], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5c2b40]
mov dword [esp + 0x8c], ecx
lea edx, [0x63420c]
mov dword [esp + 0x90], edx
lea edx, [0x634a54]
mov dword [esp], edx
mov dword [esp + 4], eax
lea ebx, [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprint
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x6c], ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x59e3f9
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c2d80]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x634a54]
mov dword [esp], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5ee918]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xa
lea ebp, [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov eax, dword [esp + 0x74]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x50]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x48]
add esi, eax
mov eax, dword [esp + 0x4c]
adc ebp, eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
cmp ebx, ecx
jge 0x59e5ac
mov dword [esp + 0x50], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x74], eax
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
setne al
test ecx, ecx
setne cl
or ecx, eax
test cl, cl
jne 0x59e453
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x59e57a
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub eax, edx
mov dword [esp + 0x34], eax
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
sbb edx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 4], edx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x634a54]
mov dword [esp], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5f26f6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x14
lea ebp, [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add esi, eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
adc ebp, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
test ecx, ecx
jne 0x59e31d
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call sym.main._TypeRepr_.String
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x59e31d
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
setne cl
test eax, eax
setne al
or ecx, eax
test cl, cl
jne 0x59e5f2
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x59e71c
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub eax, edx
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
sbb edx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 4], edx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x634a54]
mov dword [esp], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5f26f6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x14
lea ebp, [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
add esi, eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
adc ebp, eax
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x59e937
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
setne al
test ecx, ecx
setne cl
or ecx, eax
test cl, cl
jne 0x59e77c
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
jmp 0x59e8a3
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
sbb edx, ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 4], edx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x634a54]
mov dword [esp], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5f26f6]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x14
lea ebp, [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
add esi, eax
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
adc ebp, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x10]
lea edx, [0x5d0360]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
lea ecx, [0x634a54]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5eddf5]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 8
lea ebx, [esp + 0x8c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x48]
add esi, eax
mov eax, dword [esp + 0x4c]
adc ebp, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
setne cl
test eax, eax
setne al
or ecx, eax
test cl, cl
jne 0x59e985
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x59eaaf
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub eax, edx
mov dword [esp + 0x28], eax
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
sbb edx, ebx
mov dword [esp + 0x38], edx
mov dword [esp + 4], edx
call sym.runtime.convT64
mov eax, dword [esp + 8]
lea ecx, [0x5c2d00]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x634a54]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x5f26f6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x14
lea edx, [esp + 0x7c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
add esi, eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
adc ebp, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
test esi, esi
sete al
test ebp, ebp
sete cl
and ecx, eax
test cl, cl
je 0x59eb0a
lea eax, [0x634a54]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x5f07c1]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xf
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.fmt.Fprintf
lea eax, [0x634a54]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
lea ecx, [0x5eccfa]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.fmt.Fprintf
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov edx, ecx
neg ecx
mov eax, dword [eax + 8]
cmp eax, ecx
ja 0x59eb8d
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xb0], eax
add esp, 0x98
ret
test edx, edx
je 0x59eb96
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
nop
call sym.runtime.morestack_noctxt
jmp sym.main._Package_.structType