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

Disassembly:
mov ecx, dword [0x584378]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4a48e4
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4a45cf
mov esi, dword [esp + 0x54]
lea ebx, [esi + 1]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
cmp ebx, ecx
jge 0x4a46e3
mov dword [esp + 0x54], ebx
xchg ebp, eax
mov byte [esp + 0x36], al
xchg ebp, eax
lea eax, [edx + ebx*8]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
test eax, eax
je 0x4a4665
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test eax, eax
je 0x4a463d
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatal
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov byte [esp + 4], 0
call sym.cmd_internal_archive.Parse
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4a4685
mov eax, 1
jmp 0x4a469d
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
call sym.main.isGoCompilerObjFile
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, dword [esp + 0x64]
test al, al
je 0x4a46a8
movzx ebp, byte [esp + 0x36]
jmp 0x4a46bb
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x50], ecx
movzx ebp, byte [esp + 0x36]
xor edx, edx
jmp 0x4a46f2
nop
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a46d9
xchg ebp, eax
mov byte [esp + 0x37], al
xchg ebp, eax
mov eax, dword [eax]
mov dword [esp], eax
call sym.os._file_.close
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a45b9
add esp, 0xb4
ret
add eax, 0x34
inc edx
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4a46bb
lea edi, [esp + 0x80]
mov esi, eax
call fcn.0045f33e
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x4a46ea
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], eax
movzx ecx, byte [0x584244]
test cl, cl
je 0x4a479e
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4aed20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [0x55f408]
lea edx, [0x4e2d6c]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x4c096e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf
lea ebx, [esp + 0x70]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov edi, 0xffffffff
sub edi, ebp
mov edx, 0x7fffffff
sbb edx, esi
cmp ebx, edx
setl dl
sete al
cmp edi, ecx
xchg edi, ebx
setae bl
xchg edi, ebx
and eax, edi
or edx, eax
test dl, dl
je 0x4a47ef
add ebp, ecx
adc esi, ebx
jmp 0x4a47f9
mov esi, 0x7fffffff
mov ebp, 0xffffffff
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebp
lea eax, [0x4b5a80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x4e2d94]
mov dword [eax], ecx
mov edx, dword [0x584470]
test edx, edx
jne 0x4a482b
mov edx, dword [esp + 0x5c]
jmp 0x4a4836
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ebx, dword [esp + 0x44]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ebx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0xb8]
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov dword [esp], ebx
mov dword [esp + 4], 0
lea ebx, [0x4bf558]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 9
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x1a4
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebp
lea ebp, [0x4e2d80]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
call sym.cmd_internal_archive._Archive_.AddEntry
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebp, 1
jmp 0x4a46ea
call sym.runtime.morestack_noctxt
jmp sym.main._Archive_.addPkgdef