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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xd0]
cmp eax, dword [ecx + 8]
jbe 0x59db7e
sub esp, 0x150
mov eax, 0
mov dword [esp + 0x14c], eax
mov byte [esp + 0x32], 0
mov dword [esp + 0x160], 0
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x59d393
movzx ecx, byte [eax + 0x21]
test cl, cl
je 0x59d37f
mov ecx, dword [esp + 0x154]
test ecx, ecx
je 0x59d1dd
mov edx, dword [ecx]
movzx edx, byte [edx + 0xf]
test dl, dl
je 0x59d1d9
mov edx, dword [esp + 0x158]
test edx, edx
jne 0x59d0f2
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x59d0f2
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x54], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea ebx, [0x630d00]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ebx, [0x64240e]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x12
lea ebx, [esp + 0xac]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.go_types._Checker_.trace
mov eax, dword [esp + 0x154]
inc dword [eax + 0xf0]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea ecx, [sym.go_types.computeInterfaceTypeSet.func1]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0xcc], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 0x14c], edx
mov byte [esp + 0x32], 1
mov edx, 1
jmp 0x59d1df
xor edx, edx
jmp 0x59d1df
xor edx, edx
mov byte [esp + 0x33], dl
lea eax, [0x618e80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [0x7de4ac]
mov edx, dword [0x7de4b0]
mov ebx, dword [0x7de4a8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x59d230
mov ecx, dword [esp + 0x154]
test ecx, ecx
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x154]
jmp 0x59d250
call sym.runtime.gcWriteBarrier3
mov dword [edi], ebx
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x15c]
mov edx, dword [ecx + 0x24]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x154]
test edx, edx
mov dword [eax + 0xc], ebx
mov dword [ecx + 0x24], eax
je 0x59d29f
mov eax, dword [edx + 0x6c]
test eax, eax
jne 0x59d29a
call sym.runtime.makemap_small
mov eax, dword [0x80b220]
mov ecx, dword [esp]
test eax, eax
jne 0x59d27a
mov eax, dword [esp + 0x154]
jmp 0x59d28e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x154]
mov edx, dword [eax + 0x6c]
mov dword [edi + 4], edx
mov dword [eax + 0x6c], ecx
mov ecx, dword [esp + 0x15c]
mov edx, eax
mov eax, dword [edx + 0x6c]
jmp 0x59d2dd
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.004673d9
lea edi, [esp + 0x100]
call fcn.004673cd
lea ecx, [esp + 0x100]
mov dword [esp + 0xf0], ecx
call sym.runtime.fastrand
mov ecx, dword [esp]
mov dword [esp + 0xec], ecx
lea eax, [esp + 0xe4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.004673db
lea eax, [sym.go_types.computeInterfaceTypeSet.func2]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x15c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x90], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x50], ebx
xor ebp, ebp
jmp 0x59d3ea
lea eax, [0x7e2220]
mov dword [esp + 0x160], eax
add esp, 0x150
ret
mov eax, dword [eax + 0x24]
mov dword [esp + 0x160], eax
add esp, 0x150
ret
mov dword [esp + 0x4c], ebp
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
lea edx, [esp + 0xd0]
call ecx
mov eax, dword [esp + 0x4c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jl 0x59d3a4
mov ebx, dword [0x7de4a8]
mov ebp, dword [0x7de4ac]
mov esi, dword [0x7de4b0]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x8c], edi
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x58]
jmp 0x59d456
mov ecx, dword [esp + 0x3c]
inc ecx
mov edx, dword [esp + 0x15c]
mov edi, dword [esp + 0x50]
mov edx, edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jge 0x59da0e
mov ecx, dword [ecx + 0x1c]
lea edi, [edi + ebx*8]
test ecx, ecx
je 0x59d48d
mov edx, dword [ecx + 4]
cmp ebx, edx
jae 0x59db68
mov ecx, dword [ecx]
mov ecx, dword [ecx + ebx*4]
jmp 0x59d48f
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [edi]
mov dword [esp + 0x34], eax
mov edx, dword [edi + 4]
mov dword [esp + 0x6c], edx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.go_types.under
mov eax, dword [esp + 8]
test eax, eax
je 0x59d7ec
mov ebx, dword [esp + 8]
lea ebp, [0x68cba8]
cmp ebx, ebp
jne 0x59d65f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x34]
lea edx, [0x68cbd8]
cmp ecx, edx
setne bl
mov byte [esp], bl
call sym.go_types.assert
mov eax, dword [esp + 0x154]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
call sym.go_types.computeInterfaceTypeSet
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x59d557
mov ebx, dword [esp + 0x154]
test ebx, ebx
jne 0x59d527
xor edx, edx
jmp 0x59d560
mov dword [esp], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
call sym.go_types._Checker_.isImportedConstraint
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x154]
mov edx, eax
mov eax, dword [esp + 0x74]
jmp 0x59d560
mov ebx, dword [esp + 0x154]
xor edx, edx
test dl, dl
jne 0x59d56b
xor edx, edx
jmp 0x59d621
mov dword [esp], ecx
call sym.runtime.convT32
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x59d598
mov ecx, dword [ecx + 4]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x7b25e0]
mov edx, dword [0x7b25e4]
mov ebx, dword [esp + 0x154]
mov dword [esp], ebx
lea ebp, [0x68c0a8]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea eax, [0x6484ca]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x21
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call sym.go_types._Checker_.verifyVersionf
movzx eax, byte [esp + 0x28]
xor eax, 1
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x154]
mov edx, eax
mov eax, dword [esp + 0x74]
test dl, dl
je 0x59d63e
movzx eax, byte [esp + 0x31]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
jmp 0x59d427
movzx ebp, byte [eax + 0x18]
xchg ebp, eax
mov byte [esp + 0x30], al
xchg ebp, eax
mov esi, dword [eax + 4]
mov dword [esp + 0x4c], esi
mov edi, dword [eax]
mov dword [esp + 0x88], edi
xor edx, edx
jmp 0x59db52
lea esi, [0x68cbc0]
cmp ebx, esi
jne 0x59d7f8
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x59d74a
mov esi, dword [esp + 0x154]
test esi, esi
jne 0x59d68f
xor eax, eax
jmp 0x59d753
mov dword [esp + 0x64], ebx
mov dword [esp], edi
call sym.runtime.convT32
mov eax, dword [esp + 4]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [0x621840]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xa0], edx
mov ebx, dword [0x7b25e0]
mov ebp, dword [0x7b25e4]
mov esi, dword [esp + 0x154]
mov dword [esp], esi
lea edi, [0x68c0a8]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
lea eax, [0x64739b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x1e
lea ebx, [esp + 0x9c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call sym.go_types._Checker_.verifyVersionf
movzx eax, byte [esp + 0x28]
xor eax, 1
mov ebx, dword [esp + 0x64]
lea ebp, [0x68cba8]
mov esi, dword [esp + 0x154]
mov edi, dword [esp + 0x38]
jmp 0x59d753
mov esi, dword [esp + 0x154]
xor eax, eax
test al, al
je 0x59d770
movzx eax, byte [esp + 0x31]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
jmp 0x59d427
mov dword [esp], esi
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
call sym.go_types.computeUnionTypeSet
mov eax, dword [esp + 0x10]
lea ecx, [0x7e5c80]
cmp eax, ecx
jne 0x59d7af
movzx eax, byte [esp + 0x31]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
jmp 0x59d427
mov dword [esp + 0x70], eax
movzx ecx, byte [eax + 0x18]
xor ecx, 1
mov byte [esp], cl
call sym.go_types.assert
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
test ecx, ecx
sete cl
mov byte [esp], cl
call sym.go_types.assert
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, ecx
xor ecx, ecx
jmp 0x59d9be
lea ebp, [0x68cba8]
lea esi, [0x68cbc0]
mov ebx, dword [0x7de4bc]
test ebx, ebx
jbe 0x59db00
lea ebx, [0x68cb90]
cmp eax, ebx
jne 0x59d860
mov ecx, dword [esp + 0xc]
mov edx, dword [0x7de4b8]
mov edx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x59d84e
movzx eax, byte [esp + 0x31]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
jmp 0x59d427
lea ebx, [0x68cb90]
lea ebp, [0x68cba8]
lea esi, [0x68cbc0]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x59d93c
mov esi, dword [esp + 0x154]
test esi, esi
jne 0x59d87e
xor eax, eax
jmp 0x59d945
mov dword [esp], edi
call sym.runtime.convT32
mov eax, dword [esp + 4]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x59d8ad
mov edx, dword [ecx + 4]
jmp 0x59d8af
mov edx, ecx
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x98], ecx
mov edx, dword [0x7b25e0]
mov ebx, dword [0x7b25e4]
mov ebp, dword [esp + 0x154]
mov dword [esp], ebp
lea esi, [0x68c0a8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
lea eax, [0x647889]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x1f
lea edx, [esp + 0x94]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call sym.go_types._Checker_.verifyVersionf
movzx eax, byte [esp + 0x28]
xor eax, 1
lea ebx, [0x68cb90]
lea ebp, [0x68cba8]
mov esi, dword [esp + 0x154]
jmp 0x59d945
mov esi, dword [esp + 0x154]
xor eax, eax
test al, al
je 0x59d962
movzx eax, byte [esp + 0x31]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
jmp 0x59d427
mov dword [esp + 0x84], 0
lea eax, [0x6104e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x59d996
mov ecx, dword [esp + 0x6c]
jmp 0x59d9a1
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x84], eax
mov edx, 1
mov eax, 1
xor ecx, ecx
lea ebx, [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
movzx ebp, byte [esp + 0x31]
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
call sym.go_types.intersectTermLists
movzx eax, byte [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
jmp 0x59d427
mov eax, dword [ecx + 0x24]
movzx ebx, byte [esp + 0x31]
mov byte [eax + 0x18], bl
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x59daa0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xbc]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x68da44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sort.Sort
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov edx, dword [0x80b220]
test edx, edx
je 0x59da94
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov dword [ecx], ebp
mov ecx, eax
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, dword [ecx + 0x24]
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
mov ebx, dword [0x80b220]
test ebx, ebx
jne 0x59dabc
mov ebx, dword [esp + 0x80]
jmp 0x59dad0
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x80]
mov dword [edi], ebx
mov ebp, dword [eax + 0xc]
mov dword [edi + 4], ebp
mov dword [eax + 0xc], ebx
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x160], eax
movzx eax, byte [esp + 0x33]
test al, 1
je 0x59daf9
and eax, 0xfffffffe
mov byte [esp + 0x32], al
mov edx, dword [esp + 0x14c]
mov eax, dword [edx]
call eax
add esp, 0x150
ret
xor eax, eax
xor ecx, ecx
call sym.runtime.panicIndex
mov dword [esp + 0x48], edx
mov eax, dword [edi + edx*4]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 0xd0]
call ebx
mov eax, dword [esp + 0x48]
lea edx, [eax + 1]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x154]
movzx ebp, byte [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x88]
cmp edx, esi
jl 0x59db09
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebp
mov ebx, esi
jmp 0x59d9be
mov eax, ebx
mov ecx, edx
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0x150
ret
call sym.runtime.morestack_noctxt
jmp sym.go_types.computeInterfaceTypeSet