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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x522b89
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x78], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x80]
movzx ecx, byte [eax + 0x50]
mov byte [esp + 0x22], cl
test cl, cl
je 0x52266f
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x5bfdbc]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x591ae0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [0x5fa568]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.go_parser._parser_.printTrace
mov eax, dword [esp + 0x80]
inc dword [eax + 0x54]
lea ecx, [sym.go_parser._parser_.parseArrayFieldOrTypeInstance.deferwrap1]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 1
mov dword [esp], eax
mov dword [esp + 4], 0x32
call sym.go_parser._parser_.expect
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x80]
cmp dword [ecx + 0x7c], 0x37
jne 0x5226a1
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x52288d
inc dword [ecx + 0x90]
movzx eax, byte [ecx + 0x94]
mov byte [esp + 0x21], al
mov byte [ecx + 0x94], 1
mov dword [esp], ecx
call sym.go_parser._parser_.parseExpr
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
movzx edx, byte [esp + 0x21]
mov ebx, dword [esp + 0x80]
mov byte [ebx + 0x94], dl
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea edx, [0x59afa0]
mov dword [esp + 0x10], edx
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [0x71da68]
test edx, edx
jne 0x52272f
mov edx, dword [esp + 0x50]
jmp 0x522740
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
mov edx, 1
jmp 0x522752
mov dword [edi], ecx
mov ecx, edx
mov eax, esi
mov edx, ebp
mov ebx, dword [esp + 0x80]
cmp dword [ebx + 0x7c], 0x34
jne 0x522878
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
call sym.go_parser._parser_.next
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x7c], 0x37
je 0x52285f
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x48], ecx
movzx edx, byte [eax + 0x94]
mov byte [esp + 0x20], dl
mov byte [eax + 0x94], 1
mov dword [esp], eax
call sym.go_parser._parser_.parseExpr
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x80]
mov byte [ebx + 0x94], dl
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
cmp edx, ebp
jb 0x5227de
mov esi, dword [esp + 0x5c]
jmp 0x52282b
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x59afa0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
lea edi, [esi + ebp*8 - 8]
mov dword [edi], eax
mov eax, dword [0x71da68]
lea edi, [esi + ebp*8 - 4]
test eax, eax
je 0x52274a
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x80]
mov edi, eax
jmp 0x52274a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x2c]
jmp 0x52287a
xor ebp, ebp
dec dword [ebx + 0x90]
mov ebx, eax
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp], ecx
mov dword [esp + 4], 0x37
call sym.go_parser._parser_.expect
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x522ae5
mov dword [esp + 0x30], eax
cmp ecx, 1
jne 0x5229bb
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym.go_parser._parser_.tryIdentOrType
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x5229ac
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x52291e
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x5c1f79]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1d
call sym.go_parser._parser_.error
lea eax, [0x5a0100]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [0x71da68]
test edx, edx
jne 0x522952
mov ebx, dword [esp + 0x54]
jmp 0x522960
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [esp + 0x54]
mov dword [edi + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x88], ecx
lea ecx, [0x5fb93c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x5229a8
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x40]
cmp eax, 1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
jne 0x522a31
lea eax, [0x5a48c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5fb84c]
mov dword [eax], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x5229ea
mov ecx, dword [esp + 0x84]
jmp 0x5229f8
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x71da68]
test ebx, ebx
je 0x522a1f
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
lea ecx, [0x5fb9e4]
jmp 0x522aaf
lea eax, [0x5a4940]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5fb84c]
mov dword [eax], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x522a5e
mov ecx, dword [esp + 0x84]
jmp 0x522a6c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x522a94
mov ecx, dword [esp + 0x5c]
jmp 0x522a9f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x18], ecx
lea ecx, [0x5fb9fc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x522ae1
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym.go_parser._parser_.parseType
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
lea edx, [0x5a0100]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x522b33
mov ecx, dword [esp + 0x58]
jmp 0x522b3e
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x88], ecx
lea ecx, [0x5fb93c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x522b7c
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
add esp, 0x7c
ret
call sym.runtime.morestack_noctxt
jmp sym.go_parser._parser_.parseArrayFieldOrTypeInstance