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

Disassembly:
mov ecx, dword [0x5aa0d0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4a8358
sub esp, 0x8c
mov eax, dword [0x56b6e0]
test byte [eax], al
add eax, 0x14
nop
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.sync_atomic.StoreInt32
nop
lea eax, [0x4b4520]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x56b6e0]
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 6
lea edx, [0x4c5b08]
mov dword [ecx], edx
test byte [eax], al
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.sync_atomic.StorePointer
cmp dword [0x56b8e4], 3
jge 0x4a7df3
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x4b4520]
mov dword [esp + 0x54], eax
lea ecx, [0x4eaa44]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [sym.main.main.Print.func1]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x56b6e0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov eax, dword [0x56b6ec]
lea ecx, [0x4eae84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Fprintln
call sym.main.usage
mov ecx, dword [0x56b8e4]
cmp ecx, 1
jbe 0x4a834d
mov eax, dword [0x56b8e0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.main.setOp
mov eax, dword [0x5a9fc0]
cmp eax, 0x70
jg 0x4a7f3c
cmp eax, 0x63
je 0x4a7ec4
cmp eax, 0x70
jne 0x4a8069
mov ecx, dword [0x56b8e4]
cmp ecx, 3
jb 0x4a8343
lea eax, [ecx - 3]
mov ecx, dword [0x56b8e0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [0x56b8e8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea edx, [ebp - 3]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x18
add ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.main.openArchive
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [sym.main._Archive_.printContents_fm]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x4a8329
mov ecx, dword [0x56b8e4]
cmp ecx, 3
jb 0x4a82f1
lea eax, [ecx - 3]
mov ecx, dword [0x56b8e0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [0x56b8e8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x242
lea edx, [ebp - 3]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x18
add ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.main.openArchive
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call sym.main._Archive_.addPkgdef
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.main._Archive_.addFiles
mov eax, dword [esp + 0x30]
jmp 0x4a81b7
cmp eax, 0x72
je 0x4a8150
cmp eax, 0x74
jne 0x4a7fd7
mov ecx, dword [0x56b8e4]
cmp ecx, 3
jb 0x4a82e7
lea eax, [ecx - 3]
mov ecx, dword [0x56b8e0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [0x56b8e8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea edx, [ebp - 3]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x18
add ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.main.openArchive
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [sym.main._Archive_.tableOfContents_fm]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x4a82cd
cmp eax, 0x78
jne 0x4a8069
mov ecx, dword [0x56b8e4]
cmp ecx, 3
jb 0x4a8295
lea eax, [ecx - 3]
mov ecx, dword [0x56b8e0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [0x56b8e8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
lea edx, [ebp - 3]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x18
add ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.main.openArchive
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [sym.main._Archive_.extractContents_fm]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x4a827b
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [0x56b8e4]
cmp ecx, 1
jbe 0x4a8243
mov eax, dword [0x56b8e0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b4520]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00462c1a
lea eax, [sym.main.main.Printf.func2]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 0x14
lea eax, [0x4c9125]
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 1
lea eax, [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [0x56b6e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0x64]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
mov eax, dword [0x56b6ec]
lea ecx, [0x4eae84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Fprintln
call sym.main.usage
xor eax, eax
jmp 0x4a81b7
mov ecx, dword [0x56b8e4]
cmp ecx, 3
jb 0x4a8239
lea eax, [ecx - 3]
mov ecx, dword [0x56b8e0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [0x56b8e8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x42
lea edx, [ebp - 3]
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 0x18
add ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.main.openArchive
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call sym.main._Archive_.addFiles
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
test edx, edx
je 0x4a8229
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [eax + 8]
test edx, edx
jbe 0x4a8230
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4b4520]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x4c9c37]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.log.Fatalf
add esp, 0x8c
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicSliceB
mov eax, 1
call sym.runtime.panicIndex
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 4]
imul ecx, edx, 0x34
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], eax
lea edx, [esp + 0x3c]
call ecx
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x4a81b7
mov ebx, dword [eax]
mov ebp, dword [ebx + 8]
cmp edx, ebp
jb 0x4a824d
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicSliceB
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 4]
imul ecx, edx, 0x34
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], eax
lea edx, [esp + 0x44]
call ecx
mov eax, dword [esp + 0x24]
lea edx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x4a81b7
mov ebx, dword [eax]
mov ebp, dword [ebx + 8]
cmp edx, ebp
jb 0x4a829f
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicSliceB
mov eax, 3
call sym.runtime.panicSliceB
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 4]
imul ecx, edx, 0x34
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], eax
lea edx, [esp + 0x4c]
call ecx
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x4a81b7
mov ebx, dword [eax]
mov ebp, dword [ebx + 8]
cmp edx, ebp
jb 0x4a82fb
mov eax, edx
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicSliceB
mov eax, 1
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.main.main