Function at 0x541440
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 0x54188e
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call sym.go_build.parseFileHeader
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x24]
test eax, eax
jne 0x5415ca
mov byte [esp + 0x32], cl
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5414a6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, 1
jmp 0x54162e
mov ecx, dword [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.go_build_constraint.Parse
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x54155b
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
je 0x5414fb
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
lea eax, [0x5c1241]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x84], 0
mov byte [esp + 0x85], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x6c
ret
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], ecx
lea eax, [0x59a1e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.go_build._Context_.shouldBuild._Context_.eval.func1]
mov dword [eax], ecx
mov ecx, dword [0x71da68]
test ecx, ecx
jne 0x541594
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
jmp 0x5415a9
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov edx, dword [esp + 0x80]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
call ecx
movzx eax, byte [esp + 8]
jmp 0x5415f0
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x84], 0
mov byte [esp + 0x85], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x6c
ret
mov byte [esp + 0x84], al
movzx eax, byte [esp + 0x32]
mov byte [esp + 0x85], al
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x6c
ret
movzx ecx, byte [esp + 0x32]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
test edx, edx
je 0x54187a
xchg ebp, eax
mov byte [esp + 0x33], al
xchg ebp, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0xa
call sym.internal_bytealg.IndexByte
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x541699
mov edx, dword [esp + 0x44]
cmp edx, ecx
jb 0x541888
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jb 0x541881
mov ebp, edx
sub edx, ecx
sub ebx, ecx
dec edx
mov esi, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x5c]
add eax, edx
dec ebx
jmp 0x5416bf
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebp, edx
sub ebp, ecx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
mov edi, dword [esp + 0x5c]
lea eax, [edi + ebp]
mov ebp, edx
xor ebx, ebx
mov edx, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call sym.bytes.TrimSpace
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6f3f24]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
cmp ecx, eax
jle 0x5416fb
mov ecx, 1
jmp 0x541781
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], edx
mov eax, dword [0x6f3f20]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x541735
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov ecx, 1
jmp 0x541781
mov eax, dword [str.build]
mov ecx, dword [0x6f3f64]
mov edx, dword [0x6f3f68]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.bytes.Index
cmp dword [esp + 0x18], 0xffffffff
sete al
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x48]
test cl, cl
je 0x54178f
movzx ebp, byte [esp + 0x33]
jmp 0x54161d
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.go_build_constraint.splitPlusBuild
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5417d2
movzx ebp, byte [esp + 0x33]
jmp 0x54161d
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.go_build_constraint.Parse
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x541800
movzx ebp, byte [esp + 0x33]
jmp 0x54161d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], edx
nop
lea eax, [0x59a1e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.go_build._Context_.shouldBuild._Context_.eval.func2]
mov dword [eax], ecx
mov edx, dword [0x71da68]
test edx, edx
jne 0x54183a
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
jmp 0x54184f
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x70]
mov dword [edi], edx
mov ebx, dword [esp + 0x80]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0xc]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], eax
call ecx
movzx ebp, byte [esp + 8]
movzx eax, byte [esp + 0x33]
and ebp, eax
jmp 0x54161d
mov eax, ebp
jmp 0x5415f0
mov ecx, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.go_build._Context_.shouldBuild