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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x531770
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x88]
movzx ecx, byte [eax + 0x50]
mov byte [esp + 0x22], cl
test cl, cl
je 0x53129b
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x5b8dce]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x591ae0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x5fa568]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
lea ecx, [esp + 0x70]
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 + 0x88]
inc dword [eax + 0x54]
lea ecx, [sym.go_parser._parser_.parseFile.deferwrap1]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x80], ecx
mov byte [esp + 0x23], 1
movzx ecx, byte [esp + 0x22]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x5312cb
mov dword [esp + 0x8c], 0
test cl, 1
je 0x5312c4
and ecx, 0xfffffffe
mov byte [esp + 0x23], cl
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x4c], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x4e
call sym.go_parser._parser_.expect
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call sym.go_parser._parser_.parseIdent
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
cmp dword [eax + 8], 1
jne 0x531354
mov ecx, dword [eax + 4]
cmp byte [ecx], 0x5f
jne 0x53134b
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x4c]
test edx, 0x10
je 0x53135b
mov eax, dword [ecx + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x5bee4f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call sym.go_parser._parser_.error
mov ecx, dword [esp + 0x88]
jmp 0x53135b
mov ecx, dword [esp + 0x88]
jmp 0x53135b
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call sym.go_parser._parser_.expectSemi
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x53138f
mov ecx, dword [eax + 0x4c]
test ecx, 1
jne 0x531387
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x53156f
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5313bd
mov dword [esp + 0x8c], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x5313b6
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ebx
mov ebp, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov ebp, dword [ebp + 0xc]
add ebp, esi
mov dword [esp + 0x40], ebp
lea edi, [0x5ad720]
mov dword [esp], edi
call sym.runtime.newobject
mov eax, dword [0x71da68]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x531405
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
jmp 0x53141e
call sym.runtime.gcWriteBarrier3
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov ebx, dword [esp + 0x44]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [edi + 8], ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0xc], ebp
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x88]
mov ebx, dword [eax + 0x9c]
mov ebp, dword [eax + 0xa0]
mov esi, dword [eax + 0x98]
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebp
mov ebx, dword [0x71da68]
test ebx, ebx
je 0x531479
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [ecx + 0x24], esi
mov ebx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x60]
mov esi, dword [eax + 0x58]
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebp
mov ebx, dword [0x71da68]
test ebx, ebx
je 0x53149c
call sym.runtime.gcWriteBarrier1
mov dword [edi], esi
mov dword [ecx + 0x3c], esi
mov ebx, dword [eax + 0x74]
mov ebp, dword [eax + 0x70]
mov dword [ecx + 0x4c], ebx
mov ebx, dword [0x71da68]
test ebx, ebx
je 0x5314b9
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [esp + 0x48], ecx
mov dword [ecx + 0x48], ebp
mov ebx, dword [eax + 0x4c]
test ebx, 0x10
jne 0x5314cf
xor edx, edx
jmp 0x531515
lea eax, [0x596ca0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.go_parser._parser_.error_fm]
mov dword [eax], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x5314fc
mov ecx, dword [esp + 0x88]
jmp 0x53150a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax + 0x4c]
test ebx, 0x40
jne 0x531536
mov eax, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.go_parser.resolveFile
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x8c], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x531559
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov dword [edi], eax
mov eax, dword [esp + 0x88]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
cmp dword [eax + 0x7c], 0x4b
jne 0x53163f
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], ecx
lea ecx, [ebx + 1]
mov dword [esp + 0x40], ecx
lea edx, [sym.go_parser._parser_.parseImportSpec_fm]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 4], 0x4b
lea ebx, [esp + 0x68]
mov dword [esp + 8], ebx
call sym.go_parser._parser_.parseGenDecl
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jb 0x5315c4
mov ebx, dword [esp + 0x50]
jmp 0x531604
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x59b2a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x5c]
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x5fb8dc]
mov dword [ebp], esi
mov ebp, dword [0x71da68]
lea edi, [ebx + edx*8 - 4]
test ebp, ebp
je 0x531560
mov ebp, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebp]
mov dword [edi + 4], esi
lea esi, [0x5fb8dc]
mov edi, ebp
jmp 0x531560
mov ebp, dword [eax + 0x4c]
test ebp, 2
jne 0x531651
mov ebp, 0x4b
jmp 0x53166f
mov ebp, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
jmp 0x5313bd
mov dword [esi], ecx
mov eax, dword [esp + 0x88]
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x28]
mov esi, dword [eax + 0x7c]
cmp esi, 1
je 0x531651
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], edx
cmp esi, 0x4b
jne 0x5316b9
cmp ebp, 0x4b
je 0x5316b9
mov dword [esp + 0x30], ebx
mov ecx, dword [eax + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [0x5c6a17]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x2d
call sym.go_parser._parser_.error
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
lea ecx, [ebx + 1]
mov dword [esp + 0x40], ecx
mov edx, dword [0x6fe448]
mov ebx, dword [eax + 0x7c]
mov dword [esp + 0x28], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.go_parser._parser_.parseDecl
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jb 0x5316f3
mov ebp, dword [esp + 0x58]
jmp 0x53173b
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x59b2a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, edx
mov edx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
lea esi, [ebp + ebx*8 - 8]
mov dword [esi], eax
mov eax, dword [0x71da68]
lea esi, [ebp + ebx*8 - 4]
test eax, eax
je 0x53165e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esi]
mov dword [edi + 4], eax
jmp 0x53165e
call sym.runtime.morestack_noctxt
jmp sym.go_parser._parser_.parseFile