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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x504114
sub esp, 0xac
cmp dword [0x62535c], 2
jge 0x50352d
lea eax, [0x53b570]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.main.usage
mov ecx, dword [0x62535c]
cmp ecx, 1
jbe 0x504109
mov eax, dword [0x625358]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
cmp ecx, 5
jg 0x5035b1
cmp ecx, 4
jne 0x503581
cmp dword [eax], 0x636e7566
jne 0x50373c
lea eax, [0x5361db]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.main.makeDumpOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
cmp ecx, 5
jne 0x50373c
cmp dword [eax], 0x6772656d
jne 0x50373c
cmp byte [eax + 4], 0x65
jne 0x50373c
call sym.main.makeMergeOp
mov eax, dword [esp]
mov ecx, dword [esp + 4]
jmp 0x5037df
cmp ecx, 7
jne 0x503671
cmp dword [eax], 0x63726570
jne 0x5035f3
cmp word [eax + 4], 0x6e65
jne 0x5035f3
cmp byte [eax + 6], 0x74
jne 0x5035f3
lea eax, [0x53675b]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.main.makeDumpOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
cmp dword [eax], 0x6c676b70
jne 0x50362c
cmp word [eax + 4], 0x7369
jne 0x50362c
cmp byte [eax + 6], 0x74
jne 0x50362c
lea eax, [0x536762]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.main.makeDumpOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
cmp dword [eax], 0x74786574
jne 0x50373c
cmp word [eax + 4], 0x6d66
jne 0x50373c
cmp byte [eax + 6], 0x74
jne 0x50373c
lea eax, [0x536754]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.main.makeDumpOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
cmp ecx, 8
jne 0x5036b2
cmp dword [eax], 0x74627573
jne 0x50373c
cmp dword [eax + 4], 0x74636172
jne 0x50373c
lea eax, [0x5369fb]
mov dword [esp], eax
mov dword [esp + 4], 8
call sym.main.makeSubtractIntersectOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
cmp ecx, 9
jne 0x50373c
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], ecx
mov dword [esp], eax
lea ecx, [0x536d4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x503709
lea eax, [0x536d4c]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.main.makeDumpOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5037df
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x536d55]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5037c1
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51bee0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x53c47e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.main.usage
xor eax, eax
xor ecx, ecx
jmp 0x5037df
lea eax, [0x536d55]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.main.makeSubtractIntersectOp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [0x625360]
cmp ebx, 1
jb 0x5040fd
mov edx, dword [0x62535c]
cmp edx, 2
jb 0x5040f1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x3c], eax
lea ebp, [edx - 1]
mov esi, dword [0x625358]
lea edi, [ebx - 2]
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 0x10
add edi, esi
add edx, 0xfffffffe
cmp ebx, ebp
jae 0x503866
mov dword [esp + 0x50], edx
mov dword [esp + 0xa8], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
lea eax, [0x51bee0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa8], esi
lea eax, [0x51bee0]
mov dword [esp], eax
lea eax, [ebp - 1]
lea ecx, [ebx - 1]
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x50]
mov dword [0x62535c], eax
mov eax, dword [esp + 0x4c]
mov dword [0x625360], eax
mov eax, dword [0x664ca8]
test eax, eax
jne 0x5038ca
mov eax, dword [esp + 0xa8]
jmp 0x5038e1
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0xa8]
mov dword [edi], eax
mov ecx, dword [0x625358]
mov dword [edi + 4], ecx
mov dword [0x625358], eax
lea eax, [0x51f920]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.main.func1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov edx, dword [0x664ca8]
test edx, edx
jne 0x503918
mov edx, dword [esp + 0x68]
jmp 0x50392f
call sym.runtime.gcWriteBarrier3
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov dword [edi + 4], eax
mov ebx, dword [0x61f640]
mov dword [edi + 8], ebx
mov dword [eax + 8], edx
mov dword [0x61f640], eax
mov ebx, dword [0x62535c]
nop
cmp ebx, 1
jb 0x5040e5
mov eax, dword [0x625154]
lea ecx, [ebx - 1]
mov edx, dword [0x625358]
mov ebx, dword [0x625360]
mov dword [esp], eax
lea eax, [ebx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 8
add eax, edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.flag._FlagSet_.Parse
mov dword [esp], 1
lea eax, [0x53d7cd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.main.dbgtrace
mov eax, dword [0x625154]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5039e5
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
lea ebx, [0x53ae9c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x17
call ecx
mov eax, dword [0x625130]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x503a44
mov eax, dword [eax]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x535ff6]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
xor edx, edx
xor ebx, ebx
lea ebp, [0x664ae0]
xor esi, esi
jmp 0x503fb8
mov eax, dword [0x625134]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x503bf5
mov eax, dword [eax]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x503ae6
mov dword [esp + 0x60], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
je 0x503aa3
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea eax, [0x53600d]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x9c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatal
mov ecx, dword [esp + 0x60]
lea eax, [0x567780]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime_pprof.StartCPUProfile
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x503b5e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
je 0x503b1f
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
lea eax, [0x53600d]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x9c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatal
mov eax, dword [0x625350]
mov ecx, dword [0x62534c]
inc ecx
nop
mov edx, dword [0x625348]
cmp eax, ecx
jae 0x503bd0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x517540]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x625350], eax
mov eax, dword [0x664ca8]
test eax, eax
je 0x503bc4
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x625348]
mov dword [edi + 4], eax
mov dword [0x625348], ecx
mov eax, ecx
mov ecx, edx
mov edx, eax
mov dword [0x62534c], ecx
mov eax, dword [0x664ca8]
test eax, eax
je 0x503beb
mov eax, dword [edx + ecx*4 - 4]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
lea eax, [0x543334]
mov dword [edx + ecx*4 - 4], eax
mov eax, dword [0x625138]
mov eax, dword [eax + 4]
test eax, eax
je 0x503d84
mov eax, dword [0x62513c]
mov eax, dword [eax]
test eax, eax
je 0x503c18
mov dword [0x60e24c], eax
mov eax, dword [0x625138]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
test eax, eax
je 0x503cad
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
je 0x503c6e
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea eax, [0x53600d]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatal
lea eax, [0x51f860]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.main.func3]
mov dword [eax], ecx
mov ecx, dword [0x664ca8]
test ecx, ecx
jne 0x503cd7
mov ecx, dword [esp + 0x5c]
jmp 0x503ce2
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [0x625350]
mov edx, dword [0x62534c]
inc edx
mov ebx, dword [0x625348]
cmp ecx, edx
jae 0x503d60
mov dword [esp + 0xa4], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x517540]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x625350], eax
mov eax, dword [0x664ca8]
test eax, eax
je 0x503d51
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x625348]
mov dword [edi + 4], eax
mov dword [0x625348], ecx
mov eax, dword [esp + 0xa4]
mov ebx, ecx
mov dword [0x62534c], edx
mov ecx, dword [0x664ca8]
test ecx, ecx
je 0x503d7e
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebx + edx*4 - 4]
mov dword [edi + 4], ecx
mov dword [ebx + edx*4 - 4], eax
jmp 0x503d8e
mov dword [0x60e24c], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov dword [esp], 1
lea eax, [0x538986]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.main.dbgtrace
mov eax, dword [0x62512c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x535ff6]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x503e54
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 4]
lea ecx, [0x61fce8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ebp, dword [0x625124]
movzx ebp, byte [ebp]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x503e6b
mov ebp, 2
jmp 0x503e6d
xor ebp, ebp
mov esi, dword [0x625128]
movzx esi, byte [esi]
xchg esi, eax
test al, al
xchg esi, eax
je 0x503e7f
or ebp, 4
mov esi, dword [0x625140]
mov edi, dword [0x625120]
mov edi, dword [edi]
mov dword [esp + 0x34], edi
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046a5e6
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], esi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x8c], ebp
lea ecx, [esp + 0x74]
mov dword [esp], ecx
call sym.cmd_internal_cov._CovDataReader_.Visit
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x503f68
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
je 0x503f0e
mov ecx, dword [ecx + 4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov eax, dword [0x625160]
lea ecx, [0x567780]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x5370f7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xa
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, 1
jmp 0x503f6a
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp], 1
lea ecx, [0x537976]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.main.dbgtrace
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym.main.Exit
add esp, 0xac
ret
inc edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x44], ebx
cmp edx, ecx
jge 0x504084
lea edi, [eax + edx*8]
mov dword [esp + 0xa8], edi
mov edi, dword [edi + 4]
test edi, edi
je 0x503fb7
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
lea ecx, [esi + 1]
mov dword [esp + 0x4c], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], edi
mov byte [esp + 8], 0
call sym.cmd_internal_pkgpattern.matchPatternInternal
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jb 0x504015
mov ebp, dword [esp + 0x6c]
jmp 0x504053
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x519e80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov edx, ecx
mov ecx, ebx
mov ebx, dword [0x664ca8]
test ebx, ebx
je 0x50406b
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [ebp + edx*4 - 4]
mov dword [edi + 4], ebx
mov dword [ebp + edx*4 - 4], eax
mov eax, dword [esp + 0x58]
mov ebx, ecx
mov esi, edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x503fb7
mov dword [esp + 0x40], esi
lea eax, [0x51f8c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.main.func2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x664ca8]
test ecx, ecx
jne 0x5040c0
mov ecx, dword [esp + 0x6c]
jmp 0x5040d7
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [0x625140]
mov dword [edi + 8], edx
mov dword [eax + 4], ecx
mov dword [0x625140], eax
jmp 0x503a44
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
mov eax, 2
mov ecx, edx
call sym.runtime.panicSliceB
mov ecx, 1
xor edx, edx
call sym.runtime.panicSliceAcap
mov eax, 1
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.main.main